[Sqlrelay-discussion] compiling on mac os x 10.5.5
Brought to you by:
mused
|
From: Mark M. <mar...@gm...> - 2008-10-10 13:21:54
|
Hello,I'm attempting to build sqlrelay on my mac osx 10.5.5 machine. And all I really need is the sql_relay.so on my machine so I can use php/sql_relay.so to connect to our sql_relay host. Rudiments compiles fine. But sqlrelay does not. after executing make I get: g++ -o .libs/libsql_relay.0.0.0.so -bundle .libs/sql_relay.o -lphp -L/Users/mm/Downloads/sqlrelay-0.39.4/src/api/c++/src /Users/mm/Downloads/sqlrelay-0.39.4/src/api/c++/src/.libs/libsqlrclient.dylib -L/usr/local/firstworks/lib /usr/local/firstworks/lib/librudiments.dylib -lpthread -lssl -lcrypto -ldl first try errors : ld: library not found for -lphp collect2: ld returned 1 exit status make[4]: *** [libsql_relay.la] Error 1 second try errors : ld: library not found for -lphp collect2: ld returned 1 exit status make[4]: *** [libsql_relay.la] Error 1 third try errors : ld: library not found for -lphp collect2: ld returned 1 exit status make[4]: *** [libsql_relay.la] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 Admittedly, I do not compile a lot of software on osx so I'm not sure what's happening here. Things compiled fine on our 3 rh linux servers. I'm wondering if there's just an envirnonment variable that's not set so it doesn't find the php libraries. Or if php5 isn't built on osx in a way that will allow sqlrelay what it needs to build. Any help would be appreciated. Thanks, mark |