running the makefile i got the error message .....

This is a discussion on running the makefile i got the error message ..... within the Linux Networking forums, part of the Linux Forums category; i run in REDHAT 9.0, mysql5.0.27, php5, how to tackle the error [root@localhost unix]# make -f ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2007
yogesh
 
Posts: n/a
Default running the makefile i got the error message .....

i run in REDHAT 9.0, mysql5.0.27, php5,

how to tackle the error

[root@localhost unix]# make -f Makefile_adm
g++ -o adm.cgi -O0 -g -pthread -DCASINO_TWIST -DTARGET_UNIX -DMYSQL4
-DNOTHREAD -DCASINO_TWIST -L/usr/local/lib/mysql -L/usr/local/lib
-lmysqlclient ../src/adm/mCgiMain.o ../src/adm/mSSIService.o
.../src/adm/mMain.o
/usr/bin/ld: warning: libm.so.2, needed by
/usr/local/lib/mysql/libmysqlclient.so, not found (try using -rpath or
-rpath-link)
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__stdoutp'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__inet_addr'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__stderrp'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`h_errno'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__error'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__inet_ntoa'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__isthreaded'
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to
`__swbuf'
collect2: ld returned 1 exit status
make: *** [index] Error 1


please help me

Reply With Quote
  #2 (permalink)  
Old 01-05-2007
John-Paul Stewart
 
Posts: n/a
Default Re: running the makefile i got the error message .....

yogesh wrote:
> i run in REDHAT 9.0, mysql5.0.27, php5,
>
> how to tackle the error
>
> [root@localhost unix]# make -f Makefile_adm

[snip]

Questions about Makefiles are off-topic in the .hardware, .networking,
and .x Linux groups for sure, and probably even off-topic in .misc. Why
did you cross-post a question to four off-topic groups?

There is a comp.os.linux.development.apps group that is where your
question will most likely be on-topic. Ask in the group where it is
on-topic to have the best chance of finding the people who can help.
Reply With Quote
  #3 (permalink)  
Old 01-05-2007
Baho Utot
 
Posts: n/a
Default Re: running the makefile i got the error message .....

yogesh wrote:

> i run in REDHAT 9.0, mysql5.0.27, php5,
>
> how to tackle the error
>
> [root@localhost unix]# make -f Makefile_adm
> g++ -o adm.cgi -O0 -g -pthread -DCASINO_TWIST -DTARGET_UNIX -DMYSQL4
> -DNOTHREAD -DCASINO_TWIST -L/usr/local/lib/mysql -L/usr/local/lib
> -lmysqlclient ../src/adm/mCgiMain.o ../src/adm/mSSIService.o
> ../src/adm/mMain.o
> /usr/bin/ld: warning: libm.so.2, needed by

^^^^^^^^^^
libm.so.2 is missing in action, see if you can find it. If it is on the
computer then you need to set something in ./configure path to find it
try ./configure --help see if it shows you something. YMMV.

I can't be more specific with the information provided, sorry.

> /usr/local/lib/mysql/libmysqlclient.so, not found (try using -rpath or
> -rpath-link)
>


[putolin]

> please help me


--
Dancin in the ruins tonight
Tayo'y Mga Pinoy
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0