At 2025-11-11T19:16:05-0500, Thomas Dickey wrote:
> Your build failed because there's nothing to force the loader to find
> the shared library in the build-tree.

It sure seems like the `-L ../../lib` flag to gcc should be
accomplishing this.

The workaround I came up with is this, run from the build directory.

$ mkdir -p ~/ncurses-HEAD/lib && cp -v ./lib/libtinfotw.* ~/ncurses-HEAD/lib/

In other words, I copy the library pieces to my _installation_
directory.

I can then type "make", the build resumes and runs to completion.

"$HOME/ncurses-HEAD/lib" also needs to be in my (exported)
`LD_LIBRARY_PATH` environment variable.  I reckon this accomplishes more
or less what your "misc/shlib" script does.

But I wonder why it's _necessary_, given that `-L ../../lib` should be
making the already constructed library files impossible to miss.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to