Đang Thực Hiện

148425 Help compiling C++ on Linux

I have an application I have compiled into a .so file on Linux.

I want to use this .so file in my PHP program like this:


if (!extension_loaded('mylib')) {

dl('[url removed, login to view]')



My problem is this:

I want to create this .so file that will work on all Linux machines. I dont want to compile it on each machine it is used on.

Right now I'm seeing two different problems:

1. It needs a specific libstdc++.so.6 file and complains if it can't find it. This dependancy needs to be fixed somehow.

2. It complains that 'cannot handle TLS data' when I manually create a symbolic link to a libstdc++.so.6 I uploaded myself.

Basically, I want to sell a PHP script that uses my .so file. The script users will not know anything about how linux works so they cant do things like creating symbolic links (ln -s).

I need a compiler/linker solution for this

eg: what compile-time / linker flags should I use to solve this problem?


If I see bids with generic comments such as "can be done" or "we are the best blah blah..." I will ignore your bid.

Good luck.

Kĩ năng: Bất kì công việc gì, Lập trình C, PHP

Xem nhiều hơn: what is c programming used for, t$c, symbolic programming, programming on linux, programming in linux, programming compiler, problems to solve with programming, php programming problems, needs for c# programming, i need help with c++ programming, how to solve programming problems, how to find a file in linux, how programming works, generic programming, find help, c# programming problems, c programming problems, c++ programming problem, C Programming Linux, blah blah your needs, best linux for programming, m linux, linux m, php compiler, need help with c# programming

Về Bên Thuê:
( 241 nhận xét ) Belgium

ID dự án: #1894604

Được trao cho:


Will be done best way. Sincerely, Nikita Savin

$50 USD trong 2 ngày
(0 Đánh Giá)