|Subject:||Relative path issue|
|Date:||Sat, 20 Aug 2016 17:41:04 -0400|
|To:||bug-dbd-pg [...] rt.cpan.org|
|From:||adamwizon <adamwizon [...] me.com>|
I am running OS X 10.11.6 and Perl 5.18.2 with DBD::Pg-3.5.3. I am getting a relative path error from Pg.bundle with respect to libpq.5.dylib. There is a work-around using install_name_tool to change the path to libpq.5.dylib to be a full path name, but I think the module needs to be fixed if possible. Thanks. install_driver(Pg) failed: Can't load '/Library/Perl/5.18/darwin-thread-multi-2level/auto/DBD/Pg/Pg.bundle' for module DBD::Pg: dlopen(/Library/Perl/5.18/darwin-thread-multi-2level/auto/DBD/Pg/Pg.bundle, 1): Library not loaded: libpq.5.dylib Referenced from: /Library/Perl/5.18/darwin-thread-multi-2level/auto/DBD/Pg/Pg.bundle Reason: unsafe use of relative rpath libpq.5.dylib in /Library/Perl/5.18/darwin-thread-multi-2level/auto/DBD/Pg/Pg.bundle with restricted binary at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194. at (eval 337) line 3. Compilation failed in require at (eval 337) line 3. Perhaps a required shared library or dll isn't installed where expected at /xxx/yyy/...