![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Ah, setting DYLD_LIBRARY_PATH does the trick |
|
I notice that it has never built a .dylib library before... In 7.4.x I have always had a libpq.so library. Is this new? |
#3
| |||
| |||
|
|
this is the error I get with 'make check'. dyld: /Users/postgres/software/postgresql-8.0.0beta1/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/initdb can't open library: /usr/local/pgsql/lib/libpq.3.dylib (No such file or directory, errno = 2) |
#4
| |||
| |||
|
|
Adam Witney <awitney (AT) sghms (DOT) ac.uk> writes: Ah, setting DYLD_LIBRARY_PATH does the trick Great. I'll add that to pg_regress.sh. I notice that it has never built a .dylib library before... In 7.4.x I have always had a libpq.so library. Is this new? Yup. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly |
#5
| |||
| |||
|
|
I'm not sure I understand you, but you are saying that it is not working for you, right? Try setting it to export env DYLD_LIBRARY_PATH=/Users/postgres/software/postgresql-8.0.0beta1/src/test/re gress/tmp_check/install/usr/local/pgsql/lib/ adam I hope we are okay with this... I tried your path and it didn't work ... I am in bash so I did: export env DYLD_LIBRARY_PATH=/Users/postgres/software/postgresql-8.0.0beta1/src/interface s/libpq Let me know if there is something else I could try. Ted --- Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote: Adam Witney <awitney (AT) sghms (DOT) ac.uk> writes: Ah, setting DYLD_LIBRARY_PATH does the trick Great. I'll add that to pg_regress.sh. I notice that it has never built a .dylib library before... In 7.4.x I have always had a libpq.so library. Is this new? Yup. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
#6
| |||
| |||
|
|
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes: this is the error I get with 'make check'. dyld: /Users/postgres/software/postgresql-8.0.0beta1/src/test/regress/./tmp_check/i nstall//usr/local/pgsql/bin/initdb can't open library: /usr/local/pgsql/lib/libpq.3.dylib (No such file or directory, errno = 2) Depending on how sticky the OS is about shared library paths, you may have to do "make install" (at least for the main libraries such as libpq) before you can "make check". Otherwise the libraries will not be where the executables look for them. pg_regress.sh tries to deal with this by setting LD_LIBRARY_PATH, but evidently that doesn't work on OS X. Do you know any other similar incantation that does work? |
#7
| |||
| |||
|
|
I hope we are okay with this... I tried your path and it didn't work ... I am in bash so I did: export env DYLD_LIBRARY_PATH=/Users/postgres/software/postgresql-8.0.0beta1/src/interface s/libpq Let me know if there is something else I could try. Ted --- Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote: Adam Witney <awitney (AT) sghms (DOT) ac.uk> writes: Ah, setting DYLD_LIBRARY_PATH does the trick Great. I'll add that to pg_regress.sh. I notice that it has never built a .dylib library before... In 7.4.x I have always had a libpq.so library. Is this new? Yup. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail |
![]() |
| Thread Tools | |
| Display Modes | |
| |