Summary: | dev-lang/php-7.1.7 Cannot find libpq.so. Please specify correct PostgreSQL installation path | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam Stone <sam> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log dev-lang/php-7.1.7 |
Description
Sam Stone
2017-07-17 14:02:53 UTC
gallatin@hans ~ $ emerge -pqv '=dev-db/postgresql-10_beta2::gentoo' [ebuild R ] dev-db/postgresql-10_beta2 USE="doc kerberos ldap nls pam perl python readline server ssl tcl threads uuid xml zlib -libressl -pg_legacytimestamp (-selinux) -static-libs -systemd" LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" Works for me. Be sure that 'eselect postgresql' points to the 10 slot gallatin@hans ~ $ sudo eselect postgresql list Available PostgreSQL Slots 9.6 9.6.3 10 10beta2 gallatin@hans ~ $ sudo eselect postgresql set 10beta2 !!! Error: Not a valid slot. exiting gallatin@hans ~ $ sudo eselect postgresql set 10 Setting 10 as the default...ln: failed to create symbolic link '/usr/include/postgresql/postgresql-10': File exists !!! Error: Unable to create link! postgresql-10 -> /usr/include/postgresql exiting (In reply to Sam Stone from comment #3) > gallatin@hans ~ $ sudo eselect postgresql list > Available PostgreSQL Slots > 9.6 9.6.3 > 10 10beta2 > > > gallatin@hans ~ $ sudo eselect postgresql set 10beta2 > !!! Error: Not a valid slot. > exiting > > > gallatin@hans ~ $ sudo eselect postgresql set 10 > Setting 10 as the default...ln: failed to create symbolic link > '/usr/include/postgresql/postgresql-10': File exists > !!! Error: Unable to create link! postgresql-10 -> /usr/include/postgresql > exiting This is not a php issue, but eselect postgresql is finding something it cannot recognize. Try running 'eselect postgresql update' as root @Brain Evans Thanks for your help. Manually rename all relevant links in /usr/include to _linkname then running eselect postgresql update solved problem php and other installation issues I was encountering after postgresql update. |