plugin loads, but crash in shared library

Brad Fuller brad at sonaural.com
Tue Nov 15 17:59:16 UTC 2005


Bert Freudenberg wrote:

>
> Am 15.11.2005 um 01:36 schrieb Brad Fuller:
>
>>
>> /bin/sh /home/bfuller/projects/squeak/branches/platforms/unix/ 
>> libtool --mode=link gcc -g -O2 -fomit-frame-pointer - DLSB_FIRST=1    
>> -avoid-version -module -rpath /usr/local/lib/squeak/ 3.7-7 -o 
>> SoundPAPlugin.la SoundPAPlugin.lo patest_sine.lo -Wl,/usr/ 
>> local/lib/libportaudio.so
>
>
> I don't know much about libtool, but the "normal" linker options I'd  
> give in that case would be:
>
>     -L/usr/local/lib -lportaudio
>
> Did you try that?

that's what I tried originally. I rcv an error:
/usr/bin/ld: cannot find -llibportaudio

That's why I figured that you had to pass the arg thru libtool to ld.
Strange that there is no error on -L/usr/local/lib



More information about the Vm-dev mailing list