NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: linking issue - what am I doing wrong?



On Fri 25 Mar 2016 at 14:53:20 -0600, Swift Griggs wrote:
> Any ideas?

It looks like you need to give the runtime library path to the linker.
See ld's -rpath option.

Unfortunately different compilers have slightly different ways of
specifying this (and passing it on to the linker). I think
-Wl,-rpath,arg is a common variant.

I have a rant somewhere about how this is better than a global
system-wide search path such as used by lunix or freebsd, but I'd have
to look it up :)

> -Swift
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index