Hi --

>> My guess is that you need to set your LD_LIBRARY_PATH to point to
>> where libgerv.so lives.  Maybe /usr/local/lib?
>
> LD_LIBRARY_PATH was empty.
> In '/usr/local/bin' there is the 'gerbv' binary, in '/usr/local/lib' there is
> the 'libgerv.so'.
> Once set 'export LD_LIBRARY_PATH=/usr/local/lib' everything work as expected.
> I put that in .bashrc
> If this needed env variable is empty, should be automatically set by Makefile
> 'install' target?

Make cannot set your environment variables.  Therefore, you need to
put the LD_LIBRARY_PATH into .bashrc, as you did.

One thing:  You may want to modify your .bashrc to say this instead:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

This is so that /usr/local/lib gets appended to the list of search
directories, if any other already exist.  What you have done will
overwrite any pre-existing search directory.

Have fun with gerbv and unix,

Stuart


------------------------------------------------------------------------------
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to