bug-ncurses
[Top][All Lists]
Advanced

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

Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A


From: Tim Mooney
Subject: Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A
Date: Thu, 26 Apr 2007 15:23:29 -0500 (CDT)


The real problem is that Tru64's linker searches the list of directories
twice, and finds a shared library outside the build tree before noticing
the static library in the build tree.

Correct.

What happens if you get rid of the -static and -dynamic directives you
added, and just add

      -oldstyle_liblookup

to LDFLAGS?  Does that fix the issue?

I'm reading a Tru64 manpage now, and it sounds as if the answer is no.
That makes it search first for shared objects in all directories, and
then for static objects in all directories.  (It's a little puzzling
since that is also described for the default behavior).

Incorrect.   The -oldstyle_liblookup makes the linker use the pre-4.0
behavior, so it *doesn't* search for shared libraries first, and only
then search for static libraries.

At 4.0 and later, the default behavior is to prefer shared libraries.
The -oldstyle_liblookup argument reverts that, to behave more like the
linker on most other platforms.

Tim
--
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]