Ubuntu :: Ld Cannot Find Libz.a?

Mar 9, 2011

I'm trying to compile a simple SFML test project, but whenever I try, I get an error message from ld, telling me it can't find the library I want. To simplify things, I just made the most basic test cpp file ever, and tried linking it with /usr/lib/libz.a. This is my output:

Code:
me@lappy486:~/devl/c++/SFMLTest$ gcc-4.5 main.cpp -llibz.a
/usr/bin/ld: cannot find -llibz.a
collect2: ld returned 1 exit status

View 1 Replies


ADVERTISEMENT

Ubuntu :: Can't Find/create Libz.a / "-lz" Option?

May 14, 2010

We are running Ubuntu and I want to install an oldish drawing program (inkscape, although that's not relevant). The configure file for inkscape wants libpng and the configure file for libpng wants something called "zlib" which it checks for via the "-lz" option.

There appears to be something available online called zlib but it only makes "uncompress.so" I am getting absolutely nowhere trying to figure out whether I should just rename it as libz.a (seems wrong) or whether I even have the right package to make whatever libpng wants when it is asking for the "-lz" option.

Mods: If this is in the wrong place, feel free to move. If it's in the wrong forum, please let me know if you know what the right forum might be!

(the system won't let me use the nickname everyone calls me by!)

View 4 Replies View Related

Fedora :: Package Contains The File Libz.so.1?

Oct 18, 2010

Was trying to install a more user-friendly interface to LaTeX, and realized that during the build it asks for a file ../lib64/libz.so.1.

Could somebody please share which package this library file belongs to? Its not installed on the system though

View 7 Replies View Related

Fedora :: Accidentally Deleted Libz.so.1?

Mar 25, 2011

I accidentally deleted /usr/lib/libz.so.1. Now I am unable to bring up GUI(I can get into command line prompt) and also not able to create this symlink file.How can reinstall/create this package/file?

View 9 Replies View Related

Ubuntu :: Find Command Does Not Find All Files?

Aug 9, 2011

The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing

View 4 Replies View Related

General :: Find Mechanism With Irregular Expression (find Command) Or Perl?

Sep 7, 2010

I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following

more /etc/inet/file.example1

182.23.2.4
255.255.0.0
10.10.1.1

View 1 Replies View Related

General :: Find/grep/wc Command To Find Matching Files - Print Filename And Word Count?

Sep 11, 2009

I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:

wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;

View 10 Replies View Related

General :: Command Line - Use Find To Find Text Files?

Jul 15, 2011

Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.

View 2 Replies View Related

General :: GNU Find: Disable The Error When 'find' Finds No Matches

Aug 21, 2011

I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?

View 2 Replies View Related

General :: Using Find Or Grep To Find A Group Of Text Strings?

Feb 28, 2011

I have used diff command in past.I faced a situation to which I did not had a cluehere are some text strings (which can be stored in a file)Quote:

CONFIG_XEN=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128

[code]...

View 3 Replies View Related

General :: Find Setuid Files Using FIND Command?

Jan 25, 2009

I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"

View 1 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related

Red Hat / Fedora :: Fedora Shell Scripting \ "Find In Curent Folder For Files, And It Copy First File He Find With Name Gived By User?

May 18, 2011

shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"

smthing like Code: #!/bin/bash
for files in /home/user/*
do

[code]....

View 1 Replies View Related

Ubuntu :: Error "Could Not Find A Compatible Opengl Display Resolution. Please Check Your Driver Configuration. (Error: Couldn't Find A Matching GLX Visual)"

Jul 22, 2011

I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?

View 5 Replies View Related

Programming :: Way To Find Core Files In System With Out Using "Find" Command

Jul 30, 2010

Is there any way to find the core files with out using the FIND command?

View 1 Replies View Related

Ubuntu :: Find Execdir Convert -resize "find: Missing Argument To `-execdir'"

Feb 2, 2010

i'm trying to resize my album art that is dispersed through various artist/album folders. They are mostly 200x200, but i want to make all of them the same size. The code i'm trying to use is,

Code:

find -iname "cover.jpg" -execdir convert -resize 200x200 {}

or

Code:

find -iname "cover.jpg" -execdir convert {} -resize 200x200

i'm getting the error,

Code:

find: missing argument to `-execdir'

on both whats wrong with my syntax.

View 2 Replies View Related

Ubuntu :: How To Find Wep Key

May 2, 2010

How do i find my internets WEP KEY?

View 9 Replies View Related

Ubuntu :: Where To Find .iso

Feb 28, 2011

I'm still learning ubuntu and I'm trying to install windows7 in either vm player or virtualbox. I've downloaded the .iso(took 2hrs) and now I'm not sure how to find it in ubuntu to either burn to c.d. or use virtually. Ubuntu used "Archive manager" as default for downloading. I'm not sure if this was correct to use,as I was thinking ubuntu is alot smarter than I. Where do I go to find the downloaded files?(and yes it's legal). I also downloaded the binary file of vmware, and again not sure what to do. I looked for windows files in <search< files, then alot of files came up, but I'm not sure what I'm looking at.

View 9 Replies View Related

Ubuntu :: Find Out How To Get Adobe

Jan 6, 2010

I have recently installed Ubuntu 9.04 on My Acer aspire one D250-1842, and Im haveing trouble finding and loading Adobe Reader on my pC.

View 9 Replies View Related

Ubuntu :: Find Out Computer Is 64 Bit Or 32 Bit?

Jan 26, 2010

How do I find out if my computer is 64 bit or 32 bit? I already have ubuntu installed.

View 7 Replies View Related

Ubuntu :: Cannot Find Boost_system-mt

Jan 27, 2010

I'm running Ubuntu Jaunty 9.04

I recently tried to install 0 A.D. (rts game). I receive the following errors:

I tried using synaptic package manager to update boost but, the compiling for the game stops much sooner in the overall process.

View 1 Replies View Related

Ubuntu Networking :: How To Find IP, DNS

Jan 28, 2010

I'd like to find my DNS Server. To be able to run so other programs...I typed in Terminal:

ubuntu@ubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

[code]....

View 9 Replies View Related

Ubuntu Installation :: Cannot Find CD-ROM

Feb 5, 2010

I have a small problem, I have origional C&C Generals CD, and now i wanted to instal it on Ubuntu, and i started Instal form CD, with Wine, but when Instal is at 50% it calls for CD2, i insert it, and no reaction, i push retry, retry, retry, nothing... keeps doing Nothing...

its Windows install, and he cant find CD-ROM in Ubuntu...

But what I need to do?

I <3 Ubuntu .

View 2 Replies View Related

Ubuntu :: Could Not Find Package MS-SYS

Feb 5, 2010

I'm trying to fix my mbr for windows through ubuntu because I don't have the actual windows xp recovery disk and Grub will not load windows xp. I entered the command "sudo apt-get update" and it loads all the packages but when I am supposed to type in "sudo apt-get install ms-sys" I get the message "E: couldn't find package ms-sys."

View 4 Replies View Related

Ubuntu Installation :: Looking For 9.10 DVD ISO - Cannot Find?

Feb 16, 2010

Looked around for a little while today, and I can't seem to find a .iso for a DVD (instead of a CD). I'm leery of any .iso torrents, so that's a pass for me.

View 5 Replies View Related

Ubuntu :: How To Find Dependencies

Mar 2, 2010

Recently i have installed some package from terminal..Now i want to make backup of all those packages for later use..But when i view /var/cache/apt/archives all those packages are combined and i dont know the way to seperate the package with its dependencies..If there is a way to find the dependencies of installed package,it might be useful..How to find it?

View 6 Replies View Related

Ubuntu :: Cannot Find My Web Space

Mar 21, 2010

Apache is installed and working fine using localhost. Php already installed in ubuntu, however i cannot find the directory where apache is installed so as to save my web pages there. server cannot interpret php files.

View 1 Replies View Related

Ubuntu :: Can't Find It With The Different Command?

Apr 14, 2010

Ubuntu 9.10 Gnome Something is acting as though there is a link in my /home/user file structure which is adding almost 40 gig to my backup! I can't find it with the diff command, as it says everything is common....meaning, I think, everything matches up. Yet my system monitor sees my primary drive as being 85% full and my backup (the same size drive) being 99+% filled!

Is there a linux command that would search through my file structure and list all the locations of any links? And is a "link" the only thing that would create a situation like this? P.S. That I know of, I didn't create any links. Whatever it was, seems to have started yesterday.

View 2 Replies View Related

Ubuntu :: Find My Password For SU?

May 23, 2010

How do I find my password for SU? I was not given the opportunity, at least that I noticed, to set this up at installation. And it is not my "regular" user password either.

View 3 Replies View Related

Ubuntu :: Can't Find Compiz

Jun 28, 2010

I go under the System>Preferences> Menu but the is no compiz there. I tried to run it from terminal and when i did everything went away and could only see my desktop's background image for about 2-3 sec,then everything came back and i got this in the terminal

I've just did a new format to my linux partition,when the installation was finished i had the same theme that i had before the format. All the effects that i had activated with compiz still work(cube,wobbly windows etc.)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved