I'm developing a generic unix console application. It is linked to a few
libraries including postgresql's libpq.
When I check shared libraries my application uses with otools -L, it doesn't
list libpq. Looked like it is linked with static library. so i checked if
dylib file exist in pgsql's lib directory and found no dylib file but .so
file. file command says it is a Mach-O bundle file. I have no knowledge
regarding Mach-O bundle file.
How do you link bundle files into your application using commandline tools? My
application is not Xcode project but just a Makefile project.