[Compiler-sig] Problems compiling missing -lreadline

Dickerson, Dee DDickerson2 at dow.com
Tue Sep 23 14:30:16 CEST 2008


I am trying to compile python 2.5.2 on a Suse 10.3 x86-64 machine.  GCC
version is 4.2.1.  

Configure completes with no errors and so does the compile but when I
try and run I get an error that there is no readline module.  
The entry in config.log related to not finding the readline is: 

/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin
/ld: cannot find -lreadline
conftest.c:219:31: error: readline/readline.h: No such file or directory
| #include <readline/readline.h>
configure:21254: checking for rl_pre_input_hook in -lreadline
configure:21289: gcc -pthread -o conftest -g -O2   conftest.c -lreadline
-lpthread -ldl  -lutil >&5
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin
/ld: cannot find -lreadline
configure:21325: checking for rl_completion_matches in -lreadline
configure:21360: gcc -pthread -o conftest -g -O2   conftest.c -lreadline
-lpthread -ldl  -lutil >&5
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin
/ld: cannot find -lreadline
conftest.c:219:31: error: readline/readline.h: No such file or directory
| #include <readline/readline.h>


Dee 
_______________________________________________ 
Dee Dickerson 
Engineering & Process Sciences - Process Optimization 
Core R&D 
The Dow Chemical Company 
B-1603
Freeport, Texas 77541 
Phone: +1 979-238-4449 
Dickerson4 at dow.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/compiler-sig/attachments/20080923/51846aff/attachment.htm>


More information about the Compiler-sig mailing list