![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In fact, the seemingly missing file 'libdb_cxx-4.4.so' does exist in my /usr/local/BerkeleyDB.4.4/lib directory. /usr/local/BerkeleyDB.4.4/lib is on my PATH environment variable and is what my other environment variable LD_LIBRARY_PATH is set to. The file and its enclosing directories are accessible for my user. .... If I take Nico's example and assume variables PATH and LD_LIBRARY_PATH both contain the path that libdb_cxx.so lives in, isn't the "-ldb_cxx" portion of the command adequate and supposed to resolve it? |
|
Ron suggests that adding something similar as a component of the g++ command will likely fix it: -L/usr/local/BerkeleyDB4.4 -ldb_cxx-4.4 Well, I would think that it would. I'll try and figure out how to tell qmake to do that, |
|
but in the mean time why should it be necessary when the PATH and LD_LIBRARY_PATH variables include the proper location of the shared object? |
![]() |
| Thread Tools | |
| Display Modes | |
| |