-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Osfield wrote:
> As another possible solution to the path issue might be to provide an
> addition config file for /etc/ld.so.conf.d/, the file is simply:
> 
>    # openscenegraph /usr/local install configuration
>    /usr/local/lib64
> 
> I've attached one such file, this is automatically picked up by the
> /etc/ld.so.conf file that uses:
> 
>    include /etc/ld.so.conf.d/*.conf

Yes, that is probably the least evil thing to do, just make the user
aware that this is what is happening if they try to install as root.

> 
> Another hack would be to do:
> 
>    echo /usr/local/lib64 >> /usr/ld.so.conf
> 
> Then run ldconfig to get the lib paths to be updated.

Don't do this. It is fairly easy to screw the file up by mistake (e.g.
forget one > sign) and you would have to grep it to check whether the
directory is in there already or not, otherwise the file would grow on
every install.

> One could add this to the install quite easily for /usr/local/lib64
> installs under Linux, the merits of this idea I'll happy to debate.

> Is it better than installing in /usr/local/lib?  
Absolutely - it will not mess with 32bit libraries you may have in there.

> Is installing via rpm
> or debian possible instead?

CPack seems to support both rpm and deb formats among others:
http://www.kwwidgets.org/Wiki/CMakeUserUseRPMTools
http://www.vtk.org/Wiki/CMake:CPackPackageGenerators

Regards,

Jan





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJfLGRn11XseNj94gRAk3vAJ9V7OU0XU2pFIDKU76wBTnDIbCmbACg2dYa
jpvzt/WhKfsnLnQU8JoDGqs=
=qSj/
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to