Subject: /usr/bin/ld: cannot find -lgcc_eh
To: None <current-users@netbsd.org>
From: Thomas T. Thai <tom@minnesota.com>
List: current-users
Date: 05/14/2004 00:52:39
# uname -a
NetBSD ns01 1.6R NetBSD 1.6R (ns01-1.6) #2: Sat Apr 12 23:49:23 CDT
2003 tom@ns01:/var/build/alpha-obj/sys/arch/alpha/compile/ns01-1.6 alpha
pkgsrc from cvs today.
While installing ImageMagick, it installed other packages and stop at
the following error:
[...]
gmake[2]: Entering directory
`/usr/obj/lang/gcc3-c/work/gcc-3.3.3/libiberty/testsuite'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory
`/usr/obj/lang/gcc3-c/work/gcc-3.3.3/libiberty/testsuite'
gmake[1]: Leaving directory `/usr/obj/lang/gcc3-c/work/gcc-3.3.3/libiberty'
install -d -o root -g wheel -m 755 /usr/pkg/gcc3/mk
install -c -o root -g wheel -m 444 /usr/obj/lang/gcc3-c/work/gcc3.mk
/usr/pkg/gcc3/mk/c.mk
/bin/ln -f /usr/pkg/gcc3/bin/gcc /usr/pkg/gcc3/bin/cc
/bin/cp -f /usr/pkgsrc/lang/gcc3-c/PLIST
/usr/obj/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/find /usr/pkg/gcc3 \( -type f -o -type l \) -print
| /usr/bin/sort | /usr/bin/sed -e "s,/usr/pkg/,,g"
>> /usr/obj/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/find /usr/pkg/gcc3 -type d -print
| /usr/bin/sort -r | /usr/bin/sed -e "s,/usr/pkg/,@dirrm ,g" >>
/usr/obj/lang/gcc3-c/work/PLIST_DYNAMIC
/usr/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/gcc3-c
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/gcc3-c
*** Error code 1
[...]
Regards,
Thomas