LS1046ARDB Net-snmp service issue

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1046ARDB Net-snmp service issue

Jump to solution
177 Views
Ghouse
Contributor I

I have build net-snmp in ubantu 18.04.

./configure using cross compiler fsl-qoriql arrch64-fsl-linux-gnu, i am able to run service in ubuntu 18.04 successfully, but target machine is showing ./snmpd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: no such file or directory.

before this in ubuntu 18.04 cross compiling i got ./config.sub aarch64-fsl-linux machine aarch64-fsl is not recognized.  for this i have installed autoconf using apt install autoconf command then autoreconf --install i have run inside net-snmp folder then I used following commands as shown in screenshots.

please help to get it sort it out.

 

0 Kudos
1 Solution
126 Views
yipingwang
NXP TechSupport
NXP TechSupport

$ wget https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz

$ tar -xzvf pcre-8.44.tar.gz

$ cd pcre-8.44

$ source /opt/fsl-qoriq/3.x/environment-setup-aarch64-fsl-linux

$ ./configure --host aarch64-fsl-linux

$ make

You will get libpcre.so.1 in .libs folder, please copy the content in .libs folder to /usr/lib folder on the target board.

View solution in original post

0 Kudos
1 Reply
127 Views
yipingwang
NXP TechSupport
NXP TechSupport

$ wget https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz

$ tar -xzvf pcre-8.44.tar.gz

$ cd pcre-8.44

$ source /opt/fsl-qoriq/3.x/environment-setup-aarch64-fsl-linux

$ ./configure --host aarch64-fsl-linux

$ make

You will get libpcre.so.1 in .libs folder, please copy the content in .libs folder to /usr/lib folder on the target board.

View solution in original post

0 Kudos