Jump to content
  • 0

zlib question centOS 7


HD Scripts

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

Hi,

i'm trying to compile a old emulador +/- 2012.
VPS has installed zlib.
But when digit coomand

./configure

Show this error on console:

configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping

 

asdasd.jpg.f3ca626e8fa43800809f445ba45b7fe2.jpg


Version zlib instaled: Package zlib-1.2.7-18.el7.x86_64 already installed and latest version
Somebody can tell me what to do? ths

 

Edited by HD Scripts
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Did you install all this? is recommended.

sudo yum install centos-release-scl
sudo yum install devtoolset-7-gcc devtoolset-7-gcc-c++
sudo yum -y install mariadb mariadb-devel mariadb-server pcre-devel zlib-devel git
yum -y install dos2unix gdb nano screen unzip wget zip

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

Hi.

So, what folder is recommended for emulator?
My: /var/opt/emulator

#edit

Quote

 


sudo yum install devtoolset-7-gcc devtoolset-7-gcc-c++

 

 


image.png.91f96cc14518dde77bb9b8971b2872f0.png

@edit 2

My VPS is running, this command can disable my vps? or lost my files?


sudo yum install centos-release-scl

Edited by HD Scripts
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

32 minutes ago, HD Scripts said:

Hi.

So, what folder is recommended for emulator?
My: /var/opt/emulator

#edit


image.png.91f96cc14518dde77bb9b8971b2872f0.png

@edit 2

My VPS is running, this command can disable my vps? or lost my files?

 

No, will only install the updates

and execute this too
yum repolist
yum -y update

Edited by KeyMaster
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

What command show version of devtools?

I'll try this command, and reply here

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Before compiling, did you run the command before?

scl enable devtoolset-7 bash

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

I dont use this command yet...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Use, and try compiler

Edited by KeyMaster
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

But i need to configure before no?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Just now, HD Scripts said:

But i need to configure before no?

yes. use before ./configure

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...