Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Some problems encountered during the installation of erlang virtual machine

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

erlang××× Address www.erlang.org/download.html

Download and extract tar-zxvf otp_src_R16B01.tar.gz and enter the corresponding folder

Implementation of.../ configure --help will list some parameters of installing erlang. You can modify these parameters as needed. Generally, we use--without-javac --prefix=/usr/local.

Implementation of.../ configure --without out-javac--prefix=/usr/local, preferably executed with root privileges

Normally, you'll get a prompt that you can't find odbc.

At this point we need to install odbc related unix libraries

redhad:

sudo yum install unixODBC

sudo yum install unixODBC-devel

or

ubuntu:

sudo apt-get install unixODBC

sudo apt-get install unixODBC-dev

After installing odbc, you can compile erlang

Compile:

make

Installation: (it is best to use root privileges when installing, and general user privileges are not enough)

make install

Testing:

View erlang version erl -v

1> 1+3.

2>4

Installation complete!

One more thing:

sudo yum install unixODBC prompt can't find liblua-5.1.so, but ldd check yum program is prompt yum does not depend on dynamic library, finally use strace sudo yum install unixODBC to find yum program called rmp program

I have some problems in the installation, yum is actually calling the rpm command to install the program, but my machine does not know when to delete the liblua-5.1.so dynamic library, resulting in rpm program can not work, the solution in the same system on other machines to test a liblua-5.1.so file to put in the/usr/lib directory, rpm program can work normally, the corresponding yum can also be integrated into the work

bye!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report