{"action":"created","issue":{"url":"https://api.github.com/repos/phpbrew/phpbrew/issues/453","labels_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/453/comments","events_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/453/events","html_url":"https://github.com/phpbrew/phpbrew/issues/453","id":54042159,"number":453,"title":"Unable to install with apxs2","user":{"login":"Anahkiasen","id":1321596,"avatar_url":"https://avatars.githubusercontent.com/u/1321596?v=3","gravatar_id":"","url":"https://api.github.com/users/Anahkiasen","html_url":"https://github.com/Anahkiasen","followers_url":"https://api.github.com/users/Anahkiasen/followers","following_url":"https://api.github.com/users/Anahkiasen/following{/other_user}","gists_url":"https://api.github.com/users/Anahkiasen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anahkiasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anahkiasen/subscriptions","organizations_url":"https://api.github.com/users/Anahkiasen/orgs","repos_url":"https://api.github.com/users/Anahkiasen/repos","events_url":"https://api.github.com/users/Anahkiasen/events{/privacy}","received_events_url":"https://api.github.com/users/Anahkiasen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-12T11:12:41Z","updated_at":"2015-01-12T13:43:10Z","closed_at":null,"body":"I'm trying to install 5.6 with the apache extension, without it everything works fine:\r\n\r\n```\r\n$ phpbrew install 5.6 +default+dbs+mb+debug\r\n```\r\n\r\nHowever if I add `apxs2` it fails:\r\n\r\n```\r\n$ phpbrew install 5.6 +default+dbs+mb+debug+apxs2\r\n```\r\n\r\n```\r\nUndefined symbols for architecture x86_64:\r\n  \"_lo_lseek64\", referenced from:\r\n      _zif_pg_lo_seek in pgsql.o\r\n  \"_lo_tell64\", referenced from:\r\n      _zif_pg_lo_tell in pgsql.o\r\n  \"_lo_truncate64\", referenced from:\r\n      _zif_pg_lo_truncate in pgsql.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [libs/libphp5.6.4.bundle] Error 1\r\n```\r\n\r\nI checked the required libraries from Homebrew and they're all properly installed. If I install 5.6 with *just* apxs2 it works but the combination above crashes everytime, any idea why?"},"comment":{"url":"https://api.github.com/repos/phpbrew/phpbrew/issues/comments/69571006","html_url":"https://github.com/phpbrew/phpbrew/issues/453#issuecomment-69571006","issue_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/453","id":69571006,"user":{"login":"Anahkiasen","id":1321596,"avatar_url":"https://avatars.githubusercontent.com/u/1321596?v=3","gravatar_id":"","url":"https://api.github.com/users/Anahkiasen","html_url":"https://github.com/Anahkiasen","followers_url":"https://api.github.com/users/Anahkiasen/followers","following_url":"https://api.github.com/users/Anahkiasen/following{/other_user}","gists_url":"https://api.github.com/users/Anahkiasen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anahkiasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anahkiasen/subscriptions","organizations_url":"https://api.github.com/users/Anahkiasen/orgs","repos_url":"https://api.github.com/users/Anahkiasen/repos","events_url":"https://api.github.com/users/Anahkiasen/events{/privacy}","received_events_url":"https://api.github.com/users/Anahkiasen/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T13:43:10Z","updated_at":"2015-01-12T13:43:10Z","body":"Yes I have those, but that still doesn't give me the pgsql binary:\r\n\r\n```\r\nMacedoine ➜  remindme git:(feature/bugsnag) brew install libxml2 openssl readline postgresql\r\nWarning: libxml2-2.9.2 already installed\r\nWarning: openssl-1.0.1k already installed\r\nWarning: readline-6.3.8 already installed\r\nWarning: postgresql-9.4.0 already installed\r\n\r\nMacedoine ➜  remindme git:(feature/bugsnag) brew unlink postgresql && brew link postgresql\r\nUnlinking /usr/local/Cellar/postgresql/9.4.0... 426 symlinks removed\r\nLinking /usr/local/Cellar/postgresql/9.4.0... 426 symlinks created\r\n\r\nMacedoine ➜  remindme git:(feature/bugsnag) which pgsql\r\npgsql not found\r\n```\r\n\r\nIn the issue mentioned above is also mentioned `brew install php55 --with-pgsql` but... if I have to install PHP through Homebrew anyway, that kind of defeats the purpose, no?"}}