Jump to content

cannot open shared object file


Recommended Posts

I'm trying to write a sop that accesses PRman's pointcloud API. Everything seems to compile and link properly but when I try to bring the sop into Houdini I get this error:

libprman.so: cannot open shared object file: No such file or directory

In my makefile I have:

LIBDIRS = \

-L$(RMANTREE)/lib

LIBS = \

-lprman

is there something else I need to do to tell Houdini where this library is?

Link to comment
Share on other sites

I'm trying to write a sop that accesses PRman's pointcloud API.

I don't know if it would be of any use but I just released some open source HDK code for loading & previewing prman point clouds into Houdini.

http://danbethell.github.com/rmanptcsop/

cheers,

dan

p.s. as to your specific question - yup (as Edward suggests) check your runtime library path (LD_LIBRARY_PATH or DYLD_LIBRARY_PATH on mac).

Link to comment
Share on other sites

Thanks guys, adding prman's lib directory to LD_LIBRARY_PATH did the trick.

Dan,

The code you linked is actually really similar to what I'm working on. I'm building this as part of an independent learning project for a University class, so I'm going to hold off on looking at your code for a bit until I develop my own solution, but I'm really interested to see how you went about it. Thank you for letting me know about your project!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...