-
Notifications
You must be signed in to change notification settings - Fork 820
Closed
Description
When activating support for postgresql:
PACKAGECONFIG_pn-php = "mysql sqlite3 pgsql"
The recipe fails:
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '[...]/edison-src/build/tmp/work/core2-32-poky-linux/php/5.5.24-r0/php-5.5.24'
ERROR: Function failed: do_qa_configure
The reason is that the recipe tries to link against local libraries. "config.log" shows among others the following output:
configure:75580: checking for PostgreSQL support
configure:75616: result: yes
configure:75635: checking for pg_config
configure:75645: result: /usr/bin/pg_config
configure:75702: checking for PQescapeString in -lpq
configure:75727: i586-poky-linux-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mstackrealign -fno-omit-frame-pointer --sysroot=/edison-src/build/tmp/sysroots/edison -o conftest -I/edison-src/build/tmp/sysroots/edison/usr/lib/../include -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I/edison-src/build/tmp/sysroots/edison/usr/include/apache2 -L/usr/lib -L/edison-src/build/tmp/sysroots/edison/usr/lib/../lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L/edison-src/build/tmp/sysroots/edison/usr/lib/../lib -L/edison-src/build/tmp/sysroots/edison/usr/lib -L/edison-src/build/tmp/sysroots/edison/usr//lib conftest.c -lpq -lrt -lsqlite3 -lmysqlclient -lmcrypt -lltdl -lbz2 -lz -lsqlite3 -lm -lxml2 -lxml2 -lmysqlclient -lz -lcrypt -lnsl -lm -lmysqlclient -lz -lcrypt -lnsl -lm >&5
edison-src/build/tmp/sysroots/i686-linux/usr/libexec/core2-32-poky-linux/gcc/i586-poky-linux/4.8.2/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
edison-src/build/tmp/sysroots/i686-linux/usr/libexec/core2-32-poky-linux/gcc/i586-poky-linux/4.8.2/ld: warning: libkrb5.so.3, needed by /usr/lib/libpq.so, not found (try using -rpath or -rpath-link)
edison-src/build/tmp/sysroots/i686-linux/usr/libexec/core2-32-poky-linux/gcc/i586-poky-linux/4.8.2/ld: warning: libgssapi_krb5.so.2, needed by /usr/lib/libpq.so, not found (try using -rpath or -rpath-link)
edison-src/build/tmp/sysroots/i686-linux/usr/libexec/core2-32-poky-linux/gcc/i586-poky-linux/4.8.2/ld: warning: libldap_r-2.4.so.2, needed by /usr/lib/libpq.so, not found (try using -rpath or -rpath-link)
/usr/lib/libpq.so: undefined reference to `gss_release_name@gssapi_krb5_2_MIT'
/usr/lib/libpq.so: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE@gssapi_krb5_2_MIT'
/usr/lib/libpq.so: undefined reference to `krb5_free_unparsed_name@krb5_3_MIT'
/usr/lib/libpq.so: undefined reference to `krb5_cc_get_principal@krb5_3_MIT'
[...]
I posted this already in the official yocto mailing list: https://www.mail-archive.com/yocto@yoctoproject.org/msg24335.html
Operating system is Ubuntu 32 bit as well as Ubuntu 64 bit.
I am willed to fix this but I need some support.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels