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

This is a discussion on running the makefile i got the error message ..... - Networking ; 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, ...

+ Reply to Thread
Results 1 to 3 of 3

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

  1. 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


  2. 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.

  3. 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 to Thread