Date: Fri, 11 Nov 2005 10:57:33 +0100 From: Jan-Espen Pettersen <sigsegv@radiotube.org> To: girgen@FreeBSD.org Cc: freebsd-ports@FreeBSD.org Subject: Re: failure in postgresql74-client on AMD64 Message-ID: <43746B0D.3050802@radiotube.org> In-Reply-To: <200508221407.29239.kono@kth.se> References: <200508221407.29239.kono@kth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA71B2AC67E0D35E2446C45A2 Content-Type: multipart/mixed; boundary="------------080807000507040208050300" This is a multi-part message in MIME format. --------------080807000507040208050300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Alexander Konovalenko wrote: >Hi! > > >When trying to upgrade postgresql74-client on amd64 FreeBSD 5.4 (stable) got >an error: > >make >===> postgresql-client-7.4.8 depends on executable: gmake - found >===> postgresql-client-7.4.8 depends on shared library: krb5.3 - found >===> postgresql-client-7.4.8 depends on shared library: intl - found >===> Configuring for postgresql-client-7.4.8 >configure: WARNING: you should use --build, --host, --target >checking build system type... amd64-portbld-freebsd5.4 >checking host system type... amd64-portbld-freebsd5.4 >checking which template to use... freebsd >checking whether to build with 64-bit integer date/time support... no >checking whether NLS is wanted... yes >checking for default port number... 5432 >checking for amd64-portbld-freebsd5.4-gcc... cc >checking for C compiler default output... a.out >checking whether the C compiler works... configure: error: cannot run C >compiled programs. >If you meant to cross compile, use `--host'. >===> Script "configure" failed unexpectedly. >Please report the problem to girgen@FreeBSD.org [maintainer] and attach the >"/usr/ports/databases/postgresql74-client/work/postgresql-7.4.8/config.log" >including the output of the failure of your make command. Also, it might be >a good idea to provide an overview of all packages installed on your system >(e.g. an `ls /var/db/pkg`). >*** Error code 1 > >Stop in /usr/ports/databases/postgresql74-client. > > > I ran into this problem during a portupgrade, it looks like a library conflict. This is an i386 machine, and I think this problem is not related to machine architecture. >From config.log: ... configure:1989: cc -O -pipe -O3 -funroll-loops -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto -lkrb5support -lcom_err conftest.c >&5 /usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() ... configure:2036: ./a.out /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r" ... ld-elf.so.1 is loading a different library than ld. I think they are looking at the libdirs in a two different orders. ld is looking at /usr/local/lib first, and ld-elf.so.1 is looking at /usr/lib first. Feel free to ask for more information. Jan-Espen Pettersen --------------080807000507040208050300 Content-Type: text/plain; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by PostgreSQL configure 7.4.9, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-libraries=/usr/local/lib --docdir=/usr/local/share/doc/postgresql --with-openssl --enable-nls --with-includes=/usr/local/include --enable-debug --with-krb5=/usr/local --prefix=/usr/local i386-portbld-freebsd5.4 ## --------- ## ## Platform. ## ## --------- ## hostname = enterprise.localnet.radiotube.org uname -m = i386 uname -r = 5.4-STABLE uname -s = FreeBSD uname -v = FreeBSD 5.4-STABLE #9: Wed Oct 12 11:26:20 CEST 2005 root@enterprise.localnet.radiotube.org:/usr/obj/usr/src/sys/ENTERPRISE /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1296: checking build system type configure:1314: result: i386-portbld-freebsd5.4 configure:1322: checking host system type configure:1336: result: i386-portbld-freebsd5.4 configure:1346: checking which template to use configure:1446: result: freebsd configure:1565: checking whether to build with 64-bit integer date/time support configure:1596: result: no configure:1603: checking whether NLS is wanted configure:1637: result: yes configure:1645: checking for default port number configure:1674: result: 5432 configure:1857: checking for i386-portbld-freebsd5.4-gcc configure:1883: result: cc configure:1944: checking for C compiler version configure:1947: cc --version </dev/null >&5 cc (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1950: $? = 0 configure:1952: cc -v </dev/null >&5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 configure:1955: $? = 0 configure:1957: cc -V </dev/null >&5 cc: `-V' option must have argument configure:1960: $? = 1 configure:1986: checking for C compiler default output configure:1989: cc -O -pipe -O3 -funroll-loops -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto -lkrb5support -lcom_err conftest.c >&5 /usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() configure:1992: $? = 0 configure:2025: result: a.out configure:2030: checking whether the C compiler works configure:2036: ./a.out /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r" configure:2039: $? = 1 configure:2046: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_LDFLAGS_set=set ac_cv_exeext= ac_cv_env_CFLAGS_set=set lt_cv_sys_max_cmd_len=65536 ac_cv_env_CPP_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_host_alias_set=set ac_cv_prog_CC=cc ac_cv_env_build_alias_set=set ac_cv_env_LDFLAGS_value=' -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto -lkrb5support -lcom_err' ac_cv_env_target_alias_set=set ac_cv_host_alias=i386-portbld-freebsd5.4 ac_cv_env_DOCBOOKSTYLE_set= ac_cv_env_CFLAGS_value='-O -pipe -O3 -funroll-loops' ac_cv_env_CC_set=set ac_cv_build_alias=i386-portbld-freebsd5.4 ac_cv_env_CPPFLAGS_value= ac_cv_host=i386-portbld-freebsd5.4 ac_cv_env_host_alias_value=i386-portbld-freebsd5.4 ac_cv_build=i386-portbld-freebsd5.4 ac_cv_env_build_alias_value=i386-portbld-freebsd5.4 ac_cv_env_target_alias_value=i386-portbld-freebsd5.4 ac_cv_env_DOCBOOKSTYLE_value= ac_cv_env_CC_value=cc ac_cv_env_CPP_set= ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "7.4.9" #define PACKAGE_STRING "PostgreSQL 7.4.9" #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" #define PG_VERSION "7.4.9" #define ENABLE_NLS 1 #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" configure: exit 1 --------------080807000507040208050300-- --------------enigA71B2AC67E0D35E2446C45A2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDdGsVH90qNYni6VoRAqKgAJ9tp6vozuQTGOztLFFrsL8QsIMF1ACfSbB3 XWHi4S/S53E3477E/5N0TJE= =OZYJ -----END PGP SIGNATURE----- --------------enigA71B2AC67E0D35E2446C45A2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43746B0D.3050802>