[opendbx] Basic questions I still don't understand ;)
Brought to you by:
nose
From: Mariano M. P. <mar...@gm...> - 2011-09-26 17:58:14
|
Hi Norbert. I have 2 very basic questions ;) Several months ago I compiled OpenDBX for first time in MacOS. Now I try to use it again, and I have an error that the mysql library was not found. The thing is that when I compiled OpenDBX I did something like: CFLAGS="-m32" \ CXXFLAGS="-m32" \ CPPFLAGS="-m32 -I/opendbx/PostgreSQL/9.0/include -I/opendbx/mysql/5.0/include" \ LDFLAGS="-m32 -L/opendbx/PostgreSQL/9.0/lib -L/opendbx/mysql/5.0/lib" \ ./configure --disable-utils --with-backends="mysql pgsql" Now...let's say I have renamed /opendbx to /dbx what should happen? should openDBX file while trying to get the library? is it linked statically or it can be searched dinamically? Why we ask this? because we want to distribute an Smalltalk app for new comers/newbiews where we include the binary of OpenDBX. But if this is statically linked to the database client library then we cannot do it. The second question was to know if this depends on the OS and if true if you know which is the case in linux/mac/windows. I don't know why, but if I remember correctly, in Windows I was able to do this. I mean, the dll of the database client library was search dinamically in those places where Windows searchs... Thanks! -- Mariano http://marianopeck.wordpress.com |