Page 1 of 1

Install Deps Failing

Posted: Tue Jun 11, 2013 5:36 am
by mikevan
Ubuntu 12.04. Previously built with no problems. But now I'm getting this when it's building OSL:

Code: Select all

Building CXX object testshade/CMakeFiles/libtestshade.dir/testshade.cpp.o
Linking CXX executable accum_test
/opt/lib/oiio/lib/libOpenImageIO.so: undefined reference to `dlopen'
/opt/lib/oiio/lib/libOpenImageIO.so: undefined reference to `dlclose'
/opt/lib/oiio/lib/libOpenImageIO.so: undefined reference to `dlerror'
/opt/lib/oiio/lib/libOpenImageIO.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[2]: *** [liboslexec/accum_test] Error 1
make[1]: *** [liboslexec/CMakeFiles/accum_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The best guess I can come up with is that there is a ${CMAKE_DL_LIBS} that is not at the very end, but while I've attempted to tweak it, install_deps.sh keeps downloading a fresh copy of OSL, overwriting what I've done. Suggestions?