LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2010, 08:41 PM   #1
anon025
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
CMAKE Problem with ZLIB


Hello, well i dont know how to begin really.
I deleted openssl to install another version that the application im mainly going to develop needs, then my CMAKE started saying that ZLIB_DIR-NOTFOUND but the include path and the library where still there, is there any package or similiar i can install to restore it? (im using ubuntu lucid)


here is the CMAKE error

Code:
CMake Warning at CMakeLists.txt:58 (find_package):
  Could not find module FindZLIB.cmake or a configuration file for package
  ZLIB.

  Adjust CMAKE_MODULE_PATH to find FindZLIB.cmake or set ZLIB_DIR to the
  directory containing a CMake configuration file for ZLIB.  The file will
  have one of the following names:

    ZLIBConfig.cmake
    zlib-config.cmake



CMake Warning at CMakeLists.txt:59 (find_package):
  Could not find module FindBZip2.cmake or a configuration file for package
  BZip2.

  Adjust CMAKE_MODULE_PATH to find FindBZip2.cmake or set BZip2_DIR to the
  directory containing a CMake configuration file for BZip2.  The file will
  have one of the following names:

    BZip2Config.cmake
    bzip2-config.cmake
// LilleCarl
 
Old 12-02-2010, 10:44 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. .. ..

When you build software with cmake or other tools (autotools),
a "missing <library> message" means :
You have not installed the development files for <library>.

About zlib : The run time 'zlib1g' is installed.
The package 'zlib1g-dev' is missing.

'sudo apt-get install zlib1g-dev' will do.
( Or use Synaptic.)

Good luck !
..

Last edited by knudfl; 12-05-2010 at 11:53 PM.
 
Old 12-05-2010, 08:00 PM   #3
anon025
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thnx i got that working, now i got another problem with cmake-.-'

Quote:
CMake Warning at src/oregonrealm/CMakeLists.txt:40 (add_executable):
Cannot generate a safe runtime search path for target oregon-realm because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libssl.so.0.9.8] in /usr/lib may be hidden by files in:
/usr/lib/ace

Some of these libraries may not be found correctly.


CMake Warning at src/oregoncore/CMakeLists.txt:44 (add_executable):
Cannot generate a safe runtime search path for target oregon-core because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libssl.so.0.9.8] in /usr/lib may be hidden by files in:
/usr/lib/ace

Some of these libraries may not be found correctly.
while generating the makefiles, the library ace "hides ssl"??

// LilleCarl
 
Old 12-06-2010, 12:01 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
CMake Warning at src/oregoncore/CMakeLists.txt:44 (add_executable):
Cannot generate a safe runtime search path for target oregon-core because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libssl.so.0.9.8] in /usr/lib may be hidden by files in:
/usr/lib/ace
Post # 3 : A "Warning" means information.

I have never seen a 'cmake warning' ( they come quite often )
have any impact.
..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doomsday Cmake problem Polantaris Linux - Games 2 05-31-2013 11:46 PM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM
[SOLVED] zlib-dev problem metal312 Linux - Newbie 2 07-07-2010 03:42 AM
no matching comp found: client zlib none, zlib@openssh.com lost connection jorge_ivan Linux - Networking 0 08-14-2006 07:09 PM
zlib.h problem jnusa Programming 4 01-14-2005 12:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration