pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

undefined symbols on mac os x

Hi all,

I've succesfully used pkgsrc on a ppc based PowerBook before, but this time the
bootstrap fails on an Intel based MacBook:

bootstrap $ ./bootstrap --ignore-case-check
[... lots of output ...]
ranlib libinstall.a
gcc -isystem /usr/include -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat 
-I. -I. -I../lib -DBOOTSTRAP  -DSYSCONFDIR=\"/usr/pkg/etc\" -g -O2 -c check.c
gcc -isystem /usr/include -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat 
-I. -I. -I../lib -DBOOTSTRAP  -DSYSCONFDIR=\"/usr/pkg/etc\" -g -O2 -c config.c
gcc -isystem /usr/include -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat 
-I. -I. -I../lib -DBOOTSTRAP  -DSYSCONFDIR=\"/usr/pkg/etc\" -g -O2 -c main.c
gcc -isystem /usr/include -L../libnbcompat -L../../libnbcompat -L../lib -o 
pkg_admin check.o config.o main.o -linstall -ltermcap -lnbcompat
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
collect2: ld returned 1 exit status
*** Error code 1

bmake: stopped in /var/root/pkgsrc/bootstrap/work/pkg_install/admin
*** Error code 1

bmake: stopped in /var/root/pkgsrc/bootstrap/work/pkg_install
===> exited with status 1

before this, I got another error, something about ../libnbcompat not existing,
but I fixed that by making a symbolic link from
/var/root/pkgsrc/bootstrap/work/libnbcompat to

as you can see, the last gcc command before the fatal error hereabove,
references to ../libnbcompat through a -L option.

/var/root is the $HOME for my root user.

does anybody here have a clue how to fix this? googling on ``_gpg_cmd'' returns
0 results.

thank you!

Bart Van Loon

   "Endorsing products is the American way of expressing individuality."

Home | Main Index | Thread Index | Old Index