LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2003, 12:27 AM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
gaim trying to link static and shared libraries


Hi there,
yet another problem compiling gaim (I get a different problem with each version upgrade I attempt >_<). I run ./configure just fine, with the possible exception of a lack of a file called "Dynaloader.a". Make, however, spits this out at me:
Code:
Making all in perl
make[3]: Entering directory `/home/laura/Download/gaim-0.68/plugins/perl'
...
...
...
source='perl-handlers.c' object='perl-handlers.lo' libtool=yes \
depfile='.deps/perl-handlers.Plo' tmpdepfile='.deps/perl-handlers.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  -DVERSION=\"0.68\" -I../.. -I../../src  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE    -g -O2 -c -o perl-handlers.lo `test -f 'perl-handlers.c' || echo './'`perl-handlers.c
/bin/sh ../../libtool --silent --mode=link gcc  -g -O2   -o perl.la -rpath /usr/local/lib/gaim -module -avoid-version -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpthread -lcrypt -lutil perl.lo perl-common.lo perl-handlers.lo -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lpthread -lcrypt -lutil -lnsl 

*** Warning: Linking the shared library perl.la against the
*** static library /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a is not portable!
make[3]: *** [common/Makefile] Error 139
make[3]: Leaving directory `/home/laura/Download/gaim-0.68/plugins/perl'
...
From a quick "ls /usr/lib/.../Dynaloader/" it's apparent that the Dynaloader.a file does exist. Is there anything I can do to get it to link against perl? I've read that a strategically-placed symlink sometimes solves problems like this but I'm not sure what I'd need to do to make it "portable". Does anyone have any ideas?

Thanks!
Laura
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
Linking static and shared libraries in the KDevelop Environment tristanm Programming 15 11-27-2006 09:59 PM
Making static symbols private/local in shared libraries skoona Programming 1 02-18-2005 03:14 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
compiling with shared and static libraries jinksys Programming 1 11-22-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration