Gcc Symbol Lookup Error Undefined Symbol Dlsym
Disko UI Framework porting Messages sorted by: [ dlsym undefined symbol date ] [ thread ] [ subject ] dlsym example [ author ] On Wed Nov 02, 2011 at 17:32:39 -0700, ld_preload example Wesley Miaw wrote: > I saw someone ran into this same problem a couple of years ago but I dlopen example > didn't see a solution posted. I just updated my OS to Ubuntu 11 and all of > a sudden I am hitting this error when I run make setup and target either > x86 or ARM. > > gcc: symbol lookup error: ...libgendep.so: undefined symbol: dlsym > > I see -ldl on the gcc line when building libgendep.so, but when I ldd > libgendep.so it only prints linux-gate.so.1, libc.so.6, and > /lib/ld-linux.so.2. > > libdl.so.2 exists and is in my ld cache. > > I am using gcc (Ubuntu/Linaro) 4.6.1. In 11.10 Ubuntu changed the default behaviour of ld. Add -Wl,--no-as-needed after -shared in l4/tool/gendep/Makefile. Adam -- Adam adam at os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/ Previous message: gcc: symbol lookup error: ...libgendep.so: undefined symbol: dlsym Next message: Disko UI Framework porting Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the l4-hackers mailing list
Sign in Pricing Blog Support Search GitHub This repository Watch 97 Star 1,730 Fork 199 rofl0r/proxychains-ng Code Issues 37 Pull requests 1 Projects 0 Wiki Pulse Graphs New issue symbol lookup error: ./libproxychains4.so: undefined symbol: pthread_once #53 Closed kierr opened this Issue Mar 30, 2015 · 14 comments Projects None yet http://os.inf.tu-dresden.de/pipermail/l4-hackers/2011/005078.html Labels None yet Milestone No milestone Assignees No one assigned 6 participants kierr commented Mar 30, 2015 Hello. I am having issues with wget & proxychains4 on Ubuntu: $ proxychains4 -f /var/storage/random.conf wget -qO- http://ipecho.net/plain ; echo [proxychains] config file found: https://github.com/rofl0r/proxychains-ng/issues/53 /var/storage/random.conf [proxychains] preloading ./libproxychains4.so wget: symbol lookup error: ./libproxychains4.so: undefined symbol: pthread_once Ping works just fine: $ proxychains4 -f /var/storage/random.conf ping google.com [proxychains] config file found: /var/storage/configs/random-mixed-pool.conf [proxychains] preloading ./libproxychains4.so PING google.com (173.194.67.101) 56(84) bytes of data. 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=1 ttl=49 time=22.0 ms 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=2 ttl=49 time=22.0 ms 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=3 ttl=49 time=21.8 ms 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=4 ttl=49 time=23.0 ms 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=5 ttl=49 time=24.8 ms 64 bytes from wi-in-f101.1e100.net (173.194.67.101): icmp_seq=6 ttl=49 time=22.0 ms ^C --- google.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5006ms rtt min/avg/max/mdev = 21.891/22.659/24.826/1.063 ms To install, I cloned this git repo, and ran the following as advised: sudo ./configure --prefix=/usr --sys
couple of years ago but Ididn't see a solution posted. I just http://l4-hackers.os.inf.tu-dresden.narkive.com/Xwyfb1d1/gcc-symbol-lookup-error-libgendep-so-undefined-symbol-dlsym updated my OS to Ubuntu 11 and all https://gcc.gnu.org/ml/gcc-help/2009-04/msg00203.html ofa sudden I am hitting this error when I run make setup and target eitherx86 or ARM.gcc: symbol lookup error: ...libgendep.so: undefined symbol: dlsymI see -ldl on the gcc line when building libgendep.so, undefined symbol but when I lddlibgendep.so it only prints linux-gate.so.1, libc.so.6, and/lib/ld-linux.so.2.libdl.so.2 exists and is in my ld cache.I am using gcc (Ubuntu/Linaro) 4.6.1.Thanks,--Wesley Miaw***@wesman.net Adam Lackorzynski 2011-11-03 10:23:24 UTC PermalinkRaw Message Post by Wesley MiawI saw someone ran into this same problem gcc symbol lookup a couple of years ago but Ididn't see a solution posted. I just updated my OS to Ubuntu 11 and all ofa sudden I am hitting this error when I run make setup and target eitherx86 or ARM.gcc: symbol lookup error: ...libgendep.so: undefined symbol: dlsymI see -ldl on the gcc line when building libgendep.so, but when I lddlibgendep.so it only prints linux-gate.so.1, libc.so.6, and/lib/ld-linux.so.2.libdl.so.2 exists and is in my ld cache.I am using gcc (Ubuntu/Linaro) 4.6.1.In 11.10 Ubuntu changed the default behaviour of ld.Add -Wl,--no-as-needed after -shared in l4/tool/gendep/Makefile.Adam--Adam ***@os.inf.tu-dresden.deLackorzynski http://os.inf.tu-dresden.de/~adam/ 1 Reply 1 View Switch to linear view Disable enhanced parsing Permalink to this page Thread Navigation Wesley Miaw 2011-11-03 00:32:39 UTC Adam Lackorzynski 2011-11-03 10:23:24 UTC about - legalese Loading...
Re: symbol lookup error: undefined symbol From: Andi Hellmund