I'm trying to create a shared object (.so) that will do this by including one shared object with -lboost, I implicitly include all boost libraries. Here is what I tried:
#!/bin/sh
BOOST_LIBS="-lboost_date_time-gcc43-mt -lboost_filesystem-gcc43-mt"
g++ $BOOST_LIBS -shared -Wl,-soname,libboost.so.1 -o libboost.so.1.0
ln -si libboost.so.1.0 libboost.so.1
ln -si libboost.so.1 libboost.so
After placing all 3 created files (libboost.so libboost.so.1 libboost.so.1.0) in the same directory as all boost libraries, I tried to compile a test program with it (which depends on -lboost_date_time-gcc43-mt)
g++ -lboost test.cpp
While doing this, I received the same undefined help message that -lboost does not have. Having -lboost_date_time-gcc43-mt works, but this is too verbose :) How do I get -lboost to automatically add to other shared libraries?