AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

undefined symbol: pthread_mutex_lock while building cairo

  • 1.  undefined symbol: pthread_mutex_lock while building cairo

    Posted Mon March 23, 2009 11:03 PM

    Originally posted by: SystemAdmin


    Hi,

    I am building cairo-1.8.6 in AIX 6.1.
    After the configuring was successful, i gave make command.

    The following error is displayed.
    libs/libcairo.exp -W1, -bernotok
    Undefined symbol: pthread_mutex_lock
    Undefined symbol: pthread_mutex_unlock
    Undefined symbol: pthread_mutex_destroy
    Use the -bloadmap or -bnoquiet option to obtain more information.
    Collect2: ld return 8 status.

    What does this means and how to resolve it.

    Please help.


  • 2.  Re: undefined symbol: pthread_mutex_lock while building cairo

    Posted Tue March 24, 2009 05:04 PM

    Originally posted by: nagger


    This is a Cairo build error rather than AIX problem.

    It is missing the pthread library.
    This contains the three missing function.

    The .exp means this is some form of export file used to build the program and it is missing the references to the library.

    Hope this helps, Nigel