All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
libdl.so.3.5
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
libdl.so.3.5 - Jun. 1, '06, 5:07:47 AM
|
|
|
rapid
Posts: 8
Joined: Jun. 1, '06,
Status: offline
|
We have an program compiled with gcc under Windows XP with SFU 3.5 that issues dlopen().
objdump /p shows libdl.so.3.5 is NEEDED. libdl.so.3.5 is not in our makefile. I suspect that gcc or ld has figured out that libdl.so = libdl.so.3.5.
On Windows 2003 R2 with SUA, the program fails in the dlopen() with a SEGV.
In Windows 2003 R2 /usr/lib, libdl.so and libdl.so.5.2 are soft links to /opt/gcc.3.3/lib/libdl.so.5.2. There is a copy of libdl.so.3.5 in /usr/lib.
If I remove /usr/lib/libdl.so.3.5 and create a soft link /usr/lib/libdl.so.3.5 to /usr/lib/libdl.so.5.2 the dlopen() succeeds and the program works OK.
So: libdl.so.5.2 is OK, libdl.so.3.5 is NBG. If the program had a dependency on libdl.so, it would work on 5.2 SUA without change.
My questions:
1) Why does gcc or ld create a dependency on libdl.so.3.5 rather than libdl.so ? This seems to negate one of the objectives of dynamic linking.
2) Do you know of a gcc or ld option which will create a dependency on libdl.so rather than libdl.so.3.5 ?
Many thanks for this excellent forum which has helped us on many issues.
Rapid
|
|
|
RE: libdl.so.3.5 - Jun. 2, '06, 10:12:01 AM
|
|
|
rapid
Posts: 8
Joined: Jun. 1, '06,
Status: offline
|
The date of the Microsoft digital signature of the SUA download is 07 January 2006 11:45:08.
The file name is Utilities and SDK for UNIX-based Applications_X86
|
|
|
RE: libdl.so.3.5 - Jun. 5, '06, 11:37:41 AM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
That download date is the most current for 5.2 WRT the *.so's.
You can do the workaround you have now, or try to get a fix through MS support.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|