PerlDiscuss - Perl Newsgroups and mailing lists wrote:


I used the options of LIBS => '-lX11' , INC => '/usr/include/X11' where the libX11.a is stored in my current directory.


My immediate thought was that the linker won't automatically find libX11.a if it's in your cwd. You need to tell it to look there:


LIBS => '-L. -lX11',

or maybe even:

LIBS => '-L/full_path/to/cwd -LX11',

(That doesn't mean that I disagree with anything that Eric wrote.)

Cheers,
Rob

Reply via email to