Subject: Help needed to complile postgresql on Mac.
To: None <netbsd-help@netbsd.org>
From: FC <qqa-1a89@myamail.com>
List: netbsd-help
Date: 10/07/2005 19:24:21
I am having hard time to compile postgresql80 on Mac. It seems it
doesn't find the libpq.dylib but the file is well here:
fred[596]> ls -l /Volumes/LaCie240/home/pkgsrc/databases/postgresql80-
client/work/postgresql-8.0.3/src/interfaces/libpq/.libs/libpq.dylib
lrwxrwxr-x 1 fred staff 17 Oct 7 18:07 /Volumes/LaCie240/home/
pkgsrc/databases/postgresql80-client/work/postgresql-8.0.3/src/
interfaces/libpq/.libs/libpq.dylib -> libpq.4.0.0.dylib
fred[599]> file /Volumes/LaCie240/home/pkgsrc/databases/postgresql80-
client/work/postgresql-8.0.3/src/interfaces/libpq/.libs/libpq.
4.0.0.dylib
/Volumes/LaCie240/home/pkgsrc/databases/postgresql80-client/work/
postgresql-8.0.3/src/interfaces/libpq/.libs/libpq.4.0.0.dylib: Mach-O
dynamically linked shared library ppc
Also there is the gcc error.
gcc -pipe -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}
suppress -o .libs/libecpg_compat.2.0.0.dylib .libs/informix.o -L/
Volumes/LaCie240/home/pkgsrc/databases/postgresql80-client/work/
postgresql-8.0.3/src/port -L/Volumes/LaCie240/home/pkgsrc/databases/
postgresql80-client/work/.buildlink/lib -L/Volumes/LaCie240/home/
pkgsrc/databases/postgresql80-client/work/postgresql-8.0.3/src/
interfaces/ecpg/ecpglib ../ecpglib/.libs/libecpg.dylib -L/Volumes/
LaCie240/home/pkgsrc/databases/postgresql80-client/work/
postgresql-8.0.3/src/interfaces/ecpg/pgtypeslib -L/Volumes/LaCie240/
home/pkgsrc/databases/postgresql80-client/work/postgresql-8.0.3/src/
interfaces/ecpg/pgtypeslib/.libs /Volumes/LaCie240/home/pkgsrc/
databases/postgresql80-client/work/postgresql-8.0.3/src/interfaces/
ecpg/pgtypeslib/.libs/libpgtypes.dylib -L/Volumes/LaCie240/home/
pkgsrc/databases/postgresql80-client/work/postgresql-8.0.3/src/
interfaces/libpq/.libs -L/Volumes/LaCie240/home/pkgsrc/databases/
postgresql80-client/work/postgresql-8.0.3/src/interfaces/
libpq/.libs/.libs libpq.dylib ../pgtypeslib/.libs/libpgtypes.dylib /
Volumes/LaCie240/home/pkgsrc/databases/postgresql80-client/work/
postgresql-8.0.3/src/interfaces/libpq/.libs/libpq.dylib -lssl -
lcrypto -lm /Volumes/LaCie240/home/pkgsrc/databases/postgresql80-
client/work/.buildlink/lib/libintl.dylib -lpthread -install_name /
usr/pkg/lib/libecpg_compat.2.dylib -Wl,-compatibility_version -Wl,3 -
Wl,-current_version -Wl,3.0
powerpc-apple-darwin8-gcc-4.0.0: libpq.dylib: No such file or directory
gnumake[2]: *** [libecpg_compat.la] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
*** Error code 2
thanks for your help.
-fred-