please try this patch for: postgresql-libpq++-4.0_1 broken on
amd64
Greg J.
xcas at cox.net
Sun Feb 1 04:36:51 PST 2004
On Sat, 31 Jan 2004 18:34:45 +0100
Palle Girgensohn <girgen at pingpong.net> wrote:
> Hi,
>
> Can someone on amd64 try this patch by putting it in
> ports/databases/postgresql-libpq++/files and try building the port?
>
> It's supposed to fix this problem:
> <http://bento.freebsd.org/errorlogs/amd64-5-latest/postgresql-libpq++
> -4.0_1.log>
>
> Thanks,
> Palle
>
Didn't work.
localhost# make
===> Extracting for postgresql-libpq++-4.0_1
>> Checksum OK for postgresql/libpq++-4.0.tar.gz.
===> Patching for postgresql-libpq++-4.0_1
===> Applying FreeBSD patches for postgresql-libpq++-4.0_1
/usr/bin/sed -i.bak "s,/usr/local/pgsql,/usr/local,;
s,^CFLAGS.*,CFLAGS=-O -pipe ,; s,\...SO_MINOR_VERSION.,,;
s,\(\-[IL]\)[^/]*,\\1/usr/local,"
/usr/ports/databases/postgresql-libpq++/work/libpq++-4.0/Makefile
===> postgresql-libpq++-4.0_1 depends on executable: gmake - found
===> postgresql-libpq++-4.0_1 depends on shared library: pq.3 - found
===> Configuring for postgresql-libpq++-4.0_1
===> Building for postgresql-libpq++-4.0_1
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgconnection.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgdatabase.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgtransdb.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgcursordb.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pglobject.cc
g++ -O -pipe pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o
pglobject.o -L/usr/local/lib -lpq -fpic -fPIC -shared
-Wl,-x,-soname,libpq++.so.4 -Wl,-rpath,/usr/local/lib -o libpq++.so.4
/usr/bin/ld: pgconnection.o: relocation R_X86_64_32S can not be used
when making a shared object; recompile with -fPIC
pgconnection.o: could not read symbols: Bad value
gmake: *** [libpq++.so.4] Error 1
*** Error code 2
Stop in /usr/ports/databases/postgresql-libpq++.
localhost#
More information about the freebsd-amd64
mailing list