Thread View: pl.comp.os.bsd
1 messages
1 total messages
Started by szary
Tue, 30 Mar 2004 23:22
shared vs static...
Author: szary
Date: Tue, 30 Mar 2004 23:22
Date: Tue, 30 Mar 2004 23:22
54 lines
3469 bytes
3469 bytes
Mam problem z OpenBSD [to tylko przyklad, ale to powtarza sie czesciej]
Kompiluje sobie xchat-2.0.7 i widze:
...
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -I/usr/local/include
-o perl.la -rpath /usr/local/lib/xchat/plugins -avoid-version -module
perl.lo -Wl,-R/usr/libdata/perl5/i386-openbsd/5.8.0/CORE -Wl,-E
/usr/libdata/perl5/i386-openbsd/5.8.0/auto/DynaLoader/DynaLoader.a
-L/usr/libdata/perl5/i386-openbsd/5.8.0/CORE -lperl -lm -lutil -lssl
-lcrypto -Wl,-E -L/usr/local/lib -lglib-2.0 -lintl -liconv
/usr/local/lib/libintl.a -L/usr/local/lib /usr/local/lib/libiconv.a
*** Warning: Trying to link with static lib archive /usr/libdata/perl5/i386-openbsd/5.8.0/auto/DynaLoader/DynaLoader.a.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not used here.
*** Warning: Trying to link with static lib archive /usr/local/lib/libintl.a.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not used here.
*** Warning: Trying to link with static lib archive /usr/local/lib/libiconv.a.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because the file extensions .a of this argument makes me believe
*** that it is just a static archive that I should not used here.
...
w sumie program sie skompilowal i dziala, ale nie dzialaja pluginy... przy
starcie xchata mam:
xchat:/usr/local/lib/xchat/plugins/perl.so: undefined symbol 'boot_DynaLoader'
xchat: /usr/local/lib/xchat/plugins/perl.so: can't resolve reference 'boot_DynaLoader'
dlaczego mam wszedzie *.a ? dlaczego on sam znajduje te *.a? mimo ze mam
rowniez *.so? ale tych nie znajduje...
# ldconfig -r | grep libintl
319:-lintl.1.1 => /usr/lib/libintl.so.1.1
czy to jakis standardowy problem?
--
| Zrob sobie aliasa: http://zrob.sobie.aliasy.wy.marz.one.pl
+----JID: szary@chrome.pl----E-Mail:szary@nie.robi.to--------
| Linux is for Windows haters... BSD is for Unix lovers...
| ... and OpenBSD is for me
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads