when trying to install asterisk i get this error:
[root#localhost asterisk-15.4.0]# make install
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk/asterisk-15.4.0/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk/asterisk-15.4.0/menuselect'
[LD] chan_unistim.o -> chan_unistim.so
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [chan_unistim.so] Error 1
make: *** [channels] Error 2
[root#localhost asterisk-15.4.0]#
Related
make[2]: *** [Makefile:684: yaf] Error 1
make[2]: Leaving directory '/home/prem/Downloads/yaf-2.8.4/src'
make[1]: *** [Makefile:1054: all-recursive] Error 1
make[1]: Leaving directory '/home/prem/Downloads/yaf-2.8.4/src'
make: *** [Makefile:638: all-recursive] Error 1
I am getting this error while installing Yaf for traffic analysis.
I am trying to install rJava, as it's a dependency of OpenStreetMap (I want to create some maps).
However, when trying to install, I get the following error:
/usr/bin/ld: cannot find -lpcre2-8
collect2: error: ld returned 1 exit status
make[2]: Leaving directory '/tmp/RtmplfpzAZ/R.INSTALL2958202af052/rJava/jri/src'
make[2]: *** [Makefile.all:35: libjri.so] Error 1
make[1]: Leaving directory '/tmp/RtmplfpzAZ/R.INSTALL2958202af052/rJava/jri'
make[1]: *** [Makefile.all:19: src/JRI.jar] Error 2
make: *** [Makevars:14: jri] Error 2
ERROR: compilation failed for package ‘rJava’
* removing ‘/home/maanan/R/x86_64-pc-linux-gnu-library/4.0/rJava’
Warning in install.packages :
installation of package ‘rJava’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpRkgFko/downloaded_packages’
Could someone please tell me what I did wrong? I have JDK and JRE installed.
Thanks.
apt install libpcre2-8-0 libpcre2-dev
That will (should) get you past the error at the very top. Of course I don't know what else you might be missing. Please google future errors you may get ...
/usr/bin/ld: cannot find -lpcre2-8
collect2: error: ld returned 1 exit status
Makefile.all:35: recipe for target 'libjri.so' failed
make[2]: *** [libjri.so] Error 1
make[2]: Leaving directory '/tmp/RtmpxlbMFl/R.INSTALLeb81ff01ac6/rJava/jri/src'
Makefile.all:19: recipe for target 'src/JRI.jar' failed
make[1]: *** [src/JRI.jar] Error 2
make[1]: Leaving directory '/tmp/RtmpxlbMFl/R.INSTALLeb81ff01ac6/rJava/jri'
Makevars:14: recipe for target 'jri' failed
make: *** [jri] Error 2
ERROR: compilation failed for package ‘rJava’
* removing ‘/home/gurjar/R/x86_64-pc-linux-gnu-library/3.6/rJava’
The downloaded source packages are in
‘/tmp/RtmpXFYJ9B/downloaded_packages’
Warning message:
In install.packages("rJava") :
installation of package ‘rJava’ had non-zero exit status
Is there any libraries I might be missing while hammering the same code for installation?
As the previous answer installing the pcer2 works, I use the steps specified on the main site of the library http://www.linuxfromscratch.org/blfs/view/svn/general/pcre2.html
1 st:
Download (HTTP): [https://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2][1]
OR Download (FTP): [ftp://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2][2]
2 nd:
./configure --prefix=/usr \
--docdir=/usr/share/doc/pcre2-10.36 \
--enable-unicode \
--enable-jit \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libreadline \
--disable-static &&
make
3 rd
make install
I am getting the following error while running a simulation in modelsim.
I am using the 64-bit setup of modelsim only.
env: -64: No such file or directory
make[3]: *** [apps/helloworld/CMakeFiles/helloworld.vsim] Error 127
make[2]: *** [apps/helloworld/CMakeFiles/helloworld.vsim.dir/all] Error 2
make[1]: *** [apps/helloworld/CMakeFiles/helloworld.vsim.dir/rule] Error 2
make: *** [helloworld.vsim] Error 2]
I am getting following error while installing ROS on intel edison with UbiLinux. Following these steps for installation http://wiki.ros.org/wiki/edison
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:380:43: error: macro "BOOST_SCOPE_EXIT" passed 2 arguments, but takes just 1
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: In member function ‘ros::CallbackQueue::CallOneResult ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*)’:
/home/edison/ros_catkin_ws/src/ros_`enter code here`comm/roscpp/src/libros/callback_queue.cpp:380:7: error: ‘BOOST_SCOPE_EXIT’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:381:7: error: expected ‘;’ before ‘{’ token
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘struct boost::scope_exit::aux::undeclared’ has no member named ‘value’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:384:7: error: ‘boost_se_guard_384’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:398:9: error: ‘result’ was not declared in this scope
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp: At global scope:
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:408:3: error: expected unqualified-id before ‘else’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:413:3: error: expected unqualified-id before ‘return’
/home/edison/ros_catkin_ws/src/ros_comm/roscpp/src/libros/callback_queue.cpp:416:1: error: expected declaration before ‘}’ token
make[2]: *** [CMakeFiles/roscpp.dir/src/libros/callback_queue.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/roscpp.dir/all] Error 2
make: *** [all] Error 2
root#ubilinux:/home/edison/ros_catkin_ws/build_isolated/roscpp#
You need to remove libboost-all-dev 1.4.9, then compile and install boost 1.5.3.
Follow these instructions:
http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html
http://yplam.com/ros/2017/03/19/edison-ros-install.html