Thread View: news.software.readers
3 messages
3 total messages
Started by Peter
Wed, 20 Aug 2003 14:18
[slrn] 0.9.7.4 linking error
Author: Peter
Date: Wed, 20 Aug 2003 14:18
Date: Wed, 20 Aug 2003 14:18
58 lines
3347 bytes
3347 bytes
Hi all, slrn 0.9.7.3 compiles and links nicely. Though version 0.9.7.4 gives me this while linking: gcc -g -O2 -o slrn art.o chmap.o editscore.o group.o grplens.o hash.o help.o hooks.o interp.o menu.o mime.o misc.o post.o score.o server.o sortdate.o slrn.o startup.o ttymsg.o util.o decode.o xover.o slrndir.o version.o print.o art_misc.o vfile.o snprintf.o art_sort.o - L/usr/local/lib -lslang -lm /usr/local/lib/libslang.a(slimport.o)(.text+0x20): In function `delete_handles': /md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:52: undefined reference to `dlclose' /usr/local/lib/libslang.a(slimport.o)(.text+0x17f): In function `import_from_library': /md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:121: undefined reference to `dlopen' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x1bb):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:139: undefined reference to `dlerror' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x255):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:205: undefined reference to `dlerror' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x28f):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:162: undefined reference to `dlsym' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x2c9):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:190: undefined reference to `dlsym' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x2f7):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:185: undefined reference to `dlclose' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x327):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:173: undefined reference to `dlsym' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x341):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:197: undefined reference to `dlerror' /usr/local/lib/libslang.a(slimport.o)(.text+ 0x355):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:200: undefined reference to `dlclose' collect2: ld returned 1 exit status make[1]: *** [slrn] Error 1 make[1]: Leaving directory `/md0/home/basbeuk/progs/slrn-0.9.7.4/src' make: *** [all-recursive] Error 1 Now I could live with 0.9.7.3 if it were not that yenc encoded binaries seem to come through totally broken (crc fails in every segment). And as I read 0.9.7.4 writes those totally unaltered to disk, I thought I'd have a try with the newer version. Is my C library out of date or something? Or where is dlerror and dlclose located, in what library? Anyway, thanks in advance for any input that you might have.
Re: [slrn] 0.9.7.4 linking error
Author: Chiefy
Date: Sat, 23 Aug 2003 19:55
Date: Sat, 23 Aug 2003 19:55
9 lines
1330 bytes
1330 bytes
20 Aug 2003 14:18 UTC, Peter typed: [snip] > 0x355):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:200: > undefined reference to `dlclose' > collect2: ld returned 1 exit status > make[1]: *** [slrn] Error 1 Try adding -ldl to the 'LIBS = ' line in src/Makefile.
Re: [slrn] 0.9.7.4 linking error
Author: Peter
Date: Tue, 26 Aug 2003 00:33
Date: Tue, 26 Aug 2003 00:33
17 lines
1517 bytes
1517 bytes
Thanks for telling. I have now succesfully compiled the pl3 development version. But I am very interested in these compiling tricks in LINUX, as I'm rather new to it all. Chiefy <lgb@non.existent.invalid> wrote in news:slrnbkfhin.beo.lgb@merlin.eclipse: > 20 Aug 2003 14:18 UTC, Peter typed: > [snip] >> 0x355):/md0/home/basbeuk/progs/slang/slang-1.4.9/src/slimport.c:200: >> undefined reference to `dlclose' >> collect2: ld returned 1 exit status >> make[1]: *** [slrn] Error 1 > > Try adding -ldl to the 'LIBS = ' line in src/Makefile.
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