NetBSD-Users archive

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

Where is my shared object?




Hi all,

I have a problem as follows:

My source file:

#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>
#include <readline/history.h>

int
main (void)
{
}

My Makefile:

rl:     rl.c
        cc -o rl -Wall -B/usr/pkg -L/usr/pkg/lib -lreadline rl.c

The compilation gives no warnings or errors but starting ./rl gives an error:

Shared object "libreadline.so.5" not found

This object is in /usr/pkg/lib/.

Whats wrong?

Any comments are very welcome.

Volker Wolfram


Home | Main Index | Thread Index | Old Index