Re: undefined reference to png_...

Adam Fedor <[email protected]> Thu, 8 Mar 2007 08:29:04 -0700
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
If you compile gnustep-gui yourself, you could disable png support (./ 
configure --disable-png). I'm not sure what else to do as I'm not  
really sure what's going on with mono and libpng


On Mar 7, 2007, at 9:37 PM, Kendall Bell wrote:

> /usr/lib/GNUstep/System/Library/Libraries/libgnustep-gui.so: /home/ 
> kendall/Programs/mono-1.2.3/lib/libpng12.so.0: no version  
> information available (required by /usr/lib/GNUstep/System/Library/ 
> Libraries/libgnustep-gui.so)
>        linux-gate.so.1 =>  (0xffffe000)
>        libgnustep-base.so.1.11 => /usr/lib/GNUstep/System/Library/ 
> Libraries/libgnustep-base.so.1.11 (0xb7a0e000)
>        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb79dc000)
>        libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb7927000)
>        libungif.so.4 => /home/kendall/Programs/mono-1.2.3/lib/ 
> libungif.so.4 (0xb791f000)
>        libpng12.so.0 => /home/kendall/Programs/mono-1.2.3/lib/ 
> libpng12.so.0 (0xb78fb000)
>        libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb78ab000)
>        libz.so.1 => /home/kendall/Programs/mono-1.2.3/lib/libz.so.1  
> (0xb789d000)
>        libjpeg.so.62 => /home/kendall/Programs/mono-1.2.3/lib/ 
> libjpeg.so.62 (0xb787f000)
>        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb785d000)
>        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb772e000)
>        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0  
> (0xb771b000)
>        libobjc.so.1 => /usr/lib/libobjc.so.1 (0xb7705000)
>        libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb76d5000)
>        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb75c6000)
>        libcallback.so.0 => /usr/lib/libcallback.so.0 (0xb75c4000)
>        libavcall.so.0 => /usr/lib/libavcall.so.0 (0xb75c2000)
>        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb75be000)
>        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74e9000)
>        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb74df000)
>        libX11.so.6 => /usr/lib/libX11.so.6 (0xb73f9000)
>        /lib/ld-linux.so.2 (0x80000000)
>        libXau.so.6 => /usr/lib/libXau.so.6 (0xb73f6000)
>
> Strangely it seems to conflict with my mono runtimes. I removed the  
> directory from the LD_LIBRARY_PATH variable and this seems to have  
> cleared up the problem, but this is inconvenient and would like  
> another work around.
>
> Adam Fedor wrote:
>> I just noticed the libraries are in a different directory:
>>
>> /usr/lib/GNUstep/System/Library/Libraries
>>
>> is that right?
>>
>>
>> On Mar 7, 2007, at 7:58 PM, Kendall Bell wrote:
>>
>>> ldd: /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so: No  
>>> such file or directory
>>>
>>> Adam Fedor wrote:
>>>> Can you tell me what it says when you do this:
>>>>
>>>>
>>>> ldd /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so
>>>>
>>>>
>>>> On Mar 7, 2007, at 11:01 AM, Kendall Bell wrote:
>>>>
>>>>> I am running Ubuntu Linux 6.06. GNUstep was installed from  
>>>>> synaptic.
>>>>>
>>>>> Adam Fedor wrote:
>>>>>> What system are you on?  How did you install GNUstep?  It's  
>>>>>> really the GNUstep gui library that appears to be having  
>>>>>> problems. so I'd want to see how GNUstep gui was compiled/linked.
>>>>>>
>>>>>> On Mar 7, 2007, at 10:21 AM, Kendall Bell wrote:
>>>>>>
>>>>>>> No, it doesn't appear to be linking to png. The extra output  
>>>>>>> is as follows:
>>>>>>>
>>>>>>> Making all for app WindowApp...
>>>>>>> gcc  -rdynamic       -fgnu-runtime -o WindowApp.app/./ 
>>>>>>> WindowApp \
>>>>>>>        ./shared_obj/MyApp.o  -LGNUstep/Library/Libraries -L/ 
>>>>>>> usr/local/lib/GNUstep/Local/Library/Libraries -L/usr/local/ 
>>>>>>> lib/GNUstep/Network/Library/Libraries -L/usr/lib/GNUstep/ 
>>>>>>> System/Library/Libraries -lgnustep-gui -lgnustep-base - 
>>>>>>> lpthread -lobjc -lm
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Help-gnustep mailing list
>>> [email protected]
>>> http://lists.gnu.org/mailman/listinfo/help-gnustep
>>>
>>
>
>
>
> _______________________________________________
> Help-gnustep mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-gnustep
>