When trying to make the last version I'm getting this error (#./configure --prefix=/some/dir); #make): ===========================gcc -g -O2 -I/usr/local/openssl/include -DPKGLIBDIR=/usr/local/tinc_new/lib /tinc -DCONFDIR=\"/usr/local/tinc_new/etc\" -DLOCALEDIR=\"/usr/local /tinc_new/share/locale\" -DLOCALSTATEDIR=\"/usr/local/tinc_new/var\" -o tincd conf.o connection.o meta.o net.o netutl.o process.o protocol.o route.o subnet.o tincd.o ../lib/libvpn.a -L/usr/local/openssl/lib -lcrypto /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.o(.text+0x99): undefined reference to `dlopen' dso_dlfcn.o(.text+0xb4): undefined reference to `dlopen' dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.o(.text+0x1b3): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.o(.text+0x263): undefined reference to `dlsym' /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.o(.text+0x352): undefined reference to `dlclose' collect2: ld returned 1 exit status make[2]: *** [tincd] Error 1 make[2]: Leaving directory `/usr/local/src/tinc-1.0pre4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/tinc-1.0pre4' make: *** [all-recursive-am] Error 2 ===================== Can you help me why I get this ? On this mashine I got compiled tinc-pre3 version without problems. Kosta Galabov Studio VISIA - System admin www.visia.com - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
Kostadin Galabov wrote:> When trying to make the last version I'm getting this error> /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': > dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'What OS and machine is this on? Which version of OpenSSL are you using? Did you compile OpenSSL yourself? If so, how?> Can you help me why I get this ? On this mashine I got compiled tinc-pre3 > version without problems.Can you _still_ compile pre3 on this machine without errors? (Could you try that?) -- Ivo Timmermans - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
On Tue, Jun 19, 2001 at 03:35:18PM +0300, Kostadin Galabov wrote:> When trying to make the last version I'm getting this error > > Can you help me why I get this ? On this mashine I got compiled tinc-pre3 > version without problems. >Try appending "-ldl" to LDFLAGS. That would probably do the trick. tinc should, of course, figure this out for itself by checking for dlopen() in -ldl. -- Cris van Pelt <"Cris van Pelt"@tribe.eu.org> It usually takes more than three weeks to prepare a good impromptu speech. -- Mark Twain - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/