Nuke any existing FreeSWITCH installations and then retry.

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of afshin afzali
Sent: Sunday, August 25, 2013 5:29 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] freeswitch 1.2.12 build fails on centos 6.2 32bit

 

Babak,

 

check this:

http://jira.freeswitch.org/browse/FS-3384

 

On Sat, Aug 24, 2013 at 6:32 PM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:

Hi

I'm trying to build freeswitch 1.2.12 in centos 6.2 but I get:

 

 gcc -I/usr/local/src/freeswitch-1.2.12/libs/curl/include -I/usr/local/src/freeswitch-1.2.12/src/include -I/usr/local/src/freeswitch-1.2.12/src/include -I/usr/local/src/freeswitch-1.2.12/libs/libteletone/src -I/usr/local/src/freeswitch-1.2.12/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -o .libs/freeswitch freeswitch-switch.o -Wl,-lodbc -Wl,-z -Wl,relro  -lm ./.libs/libfreeswitch.so -L/usr/local/src/freeswitch-1.2.12/libs/apr-util/xml/expat/lib -lpq /usr/local/src/freeswitch-1.2.12/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/local/src/freeswitch-1.2.12/libs/apr/.libs/libapr-1.a -L/usr/local/src/freeswitch-1.2.12/libs/srtp libs/apr/.libs/libapr-1.a -lrt -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -ldl -lz -lncurses -ljpeg -lodbc  -Wl,--rpath -Wl,/usr/local/freeswitch/lib

/usr/lib/libnss3.so: undefined reference to `PR_FindSymbol'

/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Rlock'

/usr/lib/libssl3.so: undefined reference to `PR_OpenAnonFileMap'

/usr/lib/libssl3.so: undefined reference to `PR_UnloadLibrary'

/usr/lib/libnss3.so: undefined reference to `PL_InitArenaPool'

/usr/lib/libnss3.so: undefined reference to `PR_NewRWLock'

/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Wlock'

/usr/lib/libnss3.so: undefined reference to `PR_LoadLibrary'

/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetEnv'

/usr/lib/libssl3.so: undefined reference to `PR_LoadLibraryWithFlags'

/usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'

/usr/lib/libnss3.so: undefined reference to `PR_DestroyRWLock'

/usr/lib/libnss3.so: undefined reference to `PR_NewTCPSocket'

/lib/libldap_r-2.4.so.2: undefined reference to `PR_SetEnv'

/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetLibraryName'

/usr/lib/libssl3.so: undefined reference to `PR_ErrorInstallTable'

/usr/lib/libssl3.so: undefined reference to `PR_ExportFileMapAsString'

/usr/lib/libssl3.so: undefined reference to `PR_GetLibraryFilePathname'

/usr/lib/libssl3.so: undefined reference to `PR_FindFunctionSymbol'

/usr/lib/libsmime3.so: undefined reference to `PL_NewHashTable'

/lib/libldap_r-2.4.so.2: undefined reference to `PR_ErrorToString'

/usr/lib/libnss3.so: undefined reference to `PR_RWLock_Unlock'

/usr/lib/libssl3.so: undefined reference to `PR_ImportFileMapFromString'

/lib/libldap_r-2.4.so.2: undefined reference to `PR_GetDirectorySeparator'

collect2: ld returned 1 exit status

 

I tried ./configure --without-libcurl --without-pgsql but no success

thanks

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org