[GiNaC-list] modify source, run make, then ...
Alexei Sheplyakov
varg at theor.jinr.ru
Fri Jul 11 13:19:55 CEST 2008
Hi,
On Fri, Jul 11, 2008 at 05:56:57AM -0500, Chris Bouchard wrote:
> The file, r.cpp, is part of another shared library, xloops.
[skipped]
> By modifying r.cpp, running 'make' and then running 'make install'
> the changes made to r.cpp were incorporated (the error message thrown
> was the modified message).
Another way is to start your program with proper LD_LIBRARY_PATH
*without* installing the shared library to its final location, i.e.
LD_LIBRARY_PATH=/path/to/xloops/xloops/.libs /path/to/the/binary
This method is useful if you don't want to override the previous version
of shared library for some reason.
> After stumbling upon the solution it appears my original question should
> have been posted to a beginner's gcc msg board and not GiNaC.
> Sorry for the clutter.
No problem. BTW, the question has very little to do with gcc. It's rather
'How do ELF shared libraries work on *nixy OSes?'
Best regards,
Alexei
--
All science is either physics or stamp collecting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20080711/ac5a0be6/attachment.sig
More information about the GiNaC-list
mailing list