comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Using zlib and IDL 6.1 in a DLM
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using zlib and IDL 6.1 in a DLM [message #46843 is a reply to message #46756] Tue, 27 December 2005 03:17 Go to previous message
Maurizio Tomasi is currently offline  Maurizio Tomasi
Messages: 7
Registered: December 2005
Junior Member
Karl wrote:
> IDL is overriding the definitions in the shared library. This is
> normal linux linker/loader behavior. To stop this from happening, use
> -Bsymbolic.
>
> I also found that I had to link the non-shared libz.
>
> So, the linker command that worked for me is:
>
> gcc -shared -o test.so test.o /usr/lib/libz.a -Wl,-Bsymbolic
> -L/tmp/idl/bin/bin.linux.x86 -lidl

It works!! Unfortunately, I discovered that I should recompile the GTK+
libraries in this way as well, in order to make my program work with
libpng. Well, at least now I am able to use the version of zlib I prefer
in my C code.

Thank you very much!
Maurizio.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Using zlib and IDL 6.1 in a DLM
Next Topic: Handling c++ events in IDL (Virtual Machine)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 10:47:28 PST 2025

Total time taken to generate the page: 0.08696 seconds