[Issue 10710] shared phobos library doesn't work on all linux distributions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 31 01:02:32 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10710


Jordi Sayol <g.sayol at yahoo.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |g.sayol at yahoo.es


--- Comment #6 from Jordi Sayol <g.sayol at yahoo.es> 2013-07-31 01:02:30 PDT ---
This is a known issue.
On Debian, Ubuntu, etc., all curl libraries has "versioned symbols", which are
not properly handled by others Linux systems like Fedora, OpenSUSE, etc., where
their curl libraries do not have any versioned symbol. 

libphobos linked on Debian includes libcurl versioned symbols which will not
work on Fedora, but libphobos linked on Fedora will work on Debian.

So there are two possible solutions:

- Link libphobos on a system like Fedora (libcurl without versioned symbols).

- Install a non versioned symbols curl libraries on Debian, and resulting
phobos library will work on almost every Linux system.

I just offered Walter a personalized deb package which installs Fedora's curl
libraries (non versioned symbols) on Ubuntu (until now Linux building process
was done on Ubuntu). These libraries will only be used to link libphobos, and
resulting libraries will works on almost all Linux systems. This deb package
will NEVER be publicly offered because is NOT needed by any user.

Someone knows another way to fix this? Removing the lubcurl dependency on
libphobos in not an option, at least by the moment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list