plugin loads, but crash in shared library

Brad Fuller brad at sonaural.com
Tue Nov 15 18:46:09 UTC 2005


Brad Fuller wrote:

> 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
>
>
oppss... I put the 'lib' part in and I see you have to remove that for 
libtool.

It compiled and linked.

Thanks.. as always.. there are multiple problems. Still tracking them 
down. Thanks for your help.

brad

-- 
Brad Fuller
(408) 799-6124
** Sonaural Audio Studios **
(408) 799-6123  West San Jose
(408) 799-6124  Cambrian
________________________________
Hear us online: www.Sonaural.com
See me on O'Reilly: http://www.oreillynet.com/pub/au/2184




More information about the Vm-dev mailing list