Upgrade from 2.8 to 2.9

ME
Muhammad El-Sergani
Tue, Jun 18, 2019 1:54 PM

Hi all,

I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use
python 2.7 + pjsua2.

Now this happens:

[root@srv python]# python2.7

Python 2.7.16 (default, May 26 2019, 22:41:49)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import pjsua2

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "pjsua2.py", line 15, in <module>

import _pjsua2

ImportError: /usr/lib64/libpjsip.so.2: undefined symbol:
pj_pool_secure_release

Obviously this wasn't happening when I was running 2.8.

Did I miss something during the upgrade? Did I have to delete 2.8 before
building 2.9?

Since I used --prefix=/usr --libdir=/usr/lib64 with the ./configure
script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would
override the older 2.8 ones.

Appreciate your thoughts on this please.

Thanks
//M

Hi all, I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use python 2.7 + pjsua2. Now this happens: [root@srv python]# python2.7 Python 2.7.16 (default, May 26 2019, 22:41:49) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pjsua2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pjsua2.py", line 15, in <module> import _pjsua2 ImportError: /usr/lib64/libpjsip.so.2: undefined symbol: pj_pool_secure_release Obviously this wasn't happening when I was running 2.8. Did I miss something during the upgrade? Did I have to delete 2.8 before building 2.9? Since I used *--prefix=/usr --libdir=/usr/lib64* with the *./configure* script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would override the older 2.8 ones. Appreciate your thoughts on this please. Thanks //M
ME
Muhammad El-Sergani
Tue, Jun 18, 2019 2:03 PM

Further to this, I build using:

./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin -DPJ_HAS_IPV6=0"
--prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video
--disable-g722-codec --disable-libwebrtc --enable-epoll

Server is a 64 bit CentOS 6.10.

Thanks
//M

On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani msergani@gmail.com
wrote:

Hi all,

I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use
python 2.7 + pjsua2.

Now this happens:

[root@srv python]# python2.7

Python 2.7.16 (default, May 26 2019, 22:41:49)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import pjsua2

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "pjsua2.py", line 15, in <module>

 import _pjsua2

ImportError: /usr/lib64/libpjsip.so.2: undefined symbol:
pj_pool_secure_release

Obviously this wasn't happening when I was running 2.8.

Did I miss something during the upgrade? Did I have to delete 2.8 before
building 2.9?

Since I used --prefix=/usr --libdir=/usr/lib64 with the ./configure
script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would
override the older 2.8 ones.

Appreciate your thoughts on this please.

Thanks
//M

Further to this, I build using: ./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin -DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll Server is a 64 bit CentOS 6.10. Thanks //M On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani <msergani@gmail.com> wrote: > Hi all, > > I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use > python 2.7 + pjsua2. > > Now this happens: > > [root@srv python]# python2.7 > > Python 2.7.16 (default, May 26 2019, 22:41:49) > > [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import pjsua2 > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File "pjsua2.py", line 15, in <module> > > import _pjsua2 > > ImportError: /usr/lib64/libpjsip.so.2: undefined symbol: > pj_pool_secure_release > > Obviously this wasn't happening when I was running 2.8. > > Did I miss something during the upgrade? Did I have to delete 2.8 before > building 2.9? > > Since I used *--prefix=/usr --libdir=/usr/lib64* with the *./configure* > script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would > override the older 2.8 ones. > > Appreciate your thoughts on this please. > > Thanks > //M >
ME
Muhammad El-Sergani
Wed, Jun 19, 2019 5:58 AM

Hello gents, any thoughts on this why it would be happening? I checked the
code as much as I could, and it seems related to tcp? Either way, the
import statement itself fails..

Appreciate the help.

On Tue, Jun 18, 2019, 6:03 PM Muhammad El-Sergani msergani@gmail.com
wrote:

Further to this, I build using:

./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin
-DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared
--disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll

Server is a 64 bit CentOS 6.10.

Thanks
//M

On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani msergani@gmail.com
wrote:

Hi all,

I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use
python 2.7 + pjsua2.

Now this happens:

[root@srv python]# python2.7

Python 2.7.16 (default, May 26 2019, 22:41:49)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import pjsua2

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "pjsua2.py", line 15, in <module>

 import _pjsua2

ImportError: /usr/lib64/libpjsip.so.2: undefined symbol:
pj_pool_secure_release

Obviously this wasn't happening when I was running 2.8.

Did I miss something during the upgrade? Did I have to delete 2.8 before
building 2.9?

Since I used --prefix=/usr --libdir=/usr/lib64 with the ./configure
script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would
override the older 2.8 ones.

Appreciate your thoughts on this please.

Thanks
//M

Hello gents, any thoughts on this why it would be happening? I checked the code as much as I could, and it seems related to tcp? Either way, the import statement itself fails.. Appreciate the help. On Tue, Jun 18, 2019, 6:03 PM Muhammad El-Sergani <msergani@gmail.com> wrote: > Further to this, I build using: > > ./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin > -DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared > --disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll > > Server is a 64 bit CentOS 6.10. > > Thanks > //M > > > On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani <msergani@gmail.com> > wrote: > >> Hi all, >> >> I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use >> python 2.7 + pjsua2. >> >> Now this happens: >> >> [root@srv python]# python2.7 >> >> Python 2.7.16 (default, May 26 2019, 22:41:49) >> >> [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2 >> >> Type "help", "copyright", "credits" or "license" for more information. >> >> >>> import pjsua2 >> >> Traceback (most recent call last): >> >> File "<stdin>", line 1, in <module> >> >> File "pjsua2.py", line 15, in <module> >> >> import _pjsua2 >> >> ImportError: /usr/lib64/libpjsip.so.2: undefined symbol: >> pj_pool_secure_release >> >> Obviously this wasn't happening when I was running 2.8. >> >> Did I miss something during the upgrade? Did I have to delete 2.8 before >> building 2.9? >> >> Since I used *--prefix=/usr --libdir=/usr/lib64* with the *./configure* >> script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would >> override the older 2.8 ones. >> >> Appreciate your thoughts on this please. >> >> Thanks >> //M >> >
ME
Muhammad El-Sergani
Wed, Jun 19, 2019 5:51 PM

Hello everyone, so I decided to rebuild 2.8 on the same server, and all
went well.
Back to 2.9 and it fails again.

I'm really at a loss here, anyone else facing the same issue with 2.9?

Also noteworthy, I'm using swig-4.0.0.

Thanks
//M

On Wed, Jun 19, 2019 at 9:58 AM Muhammad El-Sergani msergani@gmail.com
wrote:

Hello gents, any thoughts on this why it would be happening? I checked the
code as much as I could, and it seems related to tcp? Either way, the
import statement itself fails..

Appreciate the help.

On Tue, Jun 18, 2019, 6:03 PM Muhammad El-Sergani msergani@gmail.com
wrote:

Further to this, I build using:

./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin
-DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared
--disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll

Server is a 64 bit CentOS 6.10.

Thanks
//M

On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani msergani@gmail.com
wrote:

Hi all,

I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use
python 2.7 + pjsua2.

Now this happens:

[root@srv python]# python2.7

Python 2.7.16 (default, May 26 2019, 22:41:49)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import pjsua2

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "pjsua2.py", line 15, in <module>

 import _pjsua2

ImportError: /usr/lib64/libpjsip.so.2: undefined symbol:
pj_pool_secure_release

Obviously this wasn't happening when I was running 2.8.

Did I miss something during the upgrade? Did I have to delete 2.8 before
building 2.9?

Since I used --prefix=/usr --libdir=/usr/lib64 with the ./configure
script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would
override the older 2.8 ones.

Appreciate your thoughts on this please.

Thanks
//M

Hello everyone, so I decided to rebuild 2.8 on the same server, and all went well. Back to 2.9 and it fails again. I'm really at a loss here, anyone else facing the same issue with 2.9? Also noteworthy, I'm using swig-4.0.0. Thanks //M On Wed, Jun 19, 2019 at 9:58 AM Muhammad El-Sergani <msergani@gmail.com> wrote: > Hello gents, any thoughts on this why it would be happening? I checked the > code as much as I could, and it seems related to tcp? Either way, the > import statement itself fails.. > > Appreciate the help. > > On Tue, Jun 18, 2019, 6:03 PM Muhammad El-Sergani <msergani@gmail.com> > wrote: > >> Further to this, I build using: >> >> ./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin >> -DPJ_HAS_IPV6=0" --prefix=/usr --libdir=/usr/lib64 --enable-shared >> --disable-video --disable-g722-codec --disable-libwebrtc --enable-epoll >> >> Server is a 64 bit CentOS 6.10. >> >> Thanks >> //M >> >> >> On Tue, Jun 18, 2019 at 5:54 PM Muhammad El-Sergani <msergani@gmail.com> >> wrote: >> >>> Hi all, >>> >>> I've downloaded, and compiled 2.9 on a server that had 2.8 on it, I use >>> python 2.7 + pjsua2. >>> >>> Now this happens: >>> >>> [root@srv python]# python2.7 >>> >>> Python 2.7.16 (default, May 26 2019, 22:41:49) >>> >>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2 >>> >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>> import pjsua2 >>> >>> Traceback (most recent call last): >>> >>> File "<stdin>", line 1, in <module> >>> >>> File "pjsua2.py", line 15, in <module> >>> >>> import _pjsua2 >>> >>> ImportError: /usr/lib64/libpjsip.so.2: undefined symbol: >>> pj_pool_secure_release >>> >>> Obviously this wasn't happening when I was running 2.8. >>> >>> Did I miss something during the upgrade? Did I have to delete 2.8 before >>> building 2.9? >>> >>> Since I used *--prefix=/usr --libdir=/usr/lib64* with the *./configure* >>> script for 2.9 just like 2.8, I assumed all libs and bins from 2.9 would >>> override the older 2.8 ones. >>> >>> Appreciate your thoughts on this please. >>> >>> Thanks >>> //M >>> >>