FORUMS

Analysis & Opinion

Top Forum Discussions

Help needed to build ICS

1,597 posts
Thanks Meter: 425
 
By donjamal, Senior Member on 28th February 2012, 01:26 PM
Post Reply Subscribe to Thread Email Thread
Hi!

Im trying to build ICS rom but i got this error and cant complete the compile.

host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1

someone can help me?
thanks

__________________
DJ
 
 
28th February 2012, 02:21 PM |#2  
Member
Thanks Meter: 9
 
More
Sent from my LG-P970 using XDA App
Last edited by amit007us; 28th February 2012 at 02:27 PM.
28th February 2012, 02:33 PM |#3  
OP Senior Member
Thanks Meter: 425
 
Donate to Me
More
Quote:
Originally Posted by amit007us

Sent from my LG-P970 using XDA App

what is this?
The Following User Says Thank You to donjamal For This Useful Post: [ View ]
28th February 2012, 03:04 PM |#4  
Junior Member
Thanks Meter: 8
 
More
what instruction are you using?
28th February 2012, 03:42 PM |#5  
agent205's Avatar
Senior Member
Flag House
Thanks Meter: 101
 
More
Have you check the path?
It said "cannot find"
Is the path exist?

Sent from derp-mobile
28th February 2012, 05:11 PM |#6  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter: 1,887
 
Donate to Me
More
Maybe this command is wrong? -lz or like agent said, the path might be incorrect...
28th February 2012, 05:56 PM |#7  
Senior Member
Thanks Meter: 34
 
More
You need zlib.
28th February 2012, 06:30 PM |#8  
N00BY0815's Avatar
Recognized Contributor
Thanks Meter: 1,887
 
Donate to Me
More
Oh yeah, google tells the same Here is the solution:
Code:
sudo apt-get install zlib1g-dev
Hope you can make it soon

Here another solution: http://stackoverflow.com/questions/3...cannot-find-lz
28th February 2012, 07:35 PM |#9  
DiederikC's Avatar
Senior Member
Thanks Meter: 851
 
More
Goodluck porting it bro
28th February 2012, 07:36 PM |#10  
OP Senior Member
Thanks Meter: 425
 
Donate to Me
More
Thank you guyz i will try all of your ideas... anyway i installed zlib but doesnt work. Maybe i need uninstall and install it again. The prob is ive never used ubuntu before but im gonna try hope i can do it. I will post here the results!

Sent from my LG-P970 using XDA App
28th February 2012, 07:38 PM |#11  
DiederikC's Avatar
Senior Member
Thanks Meter: 851
 
More
Quote:
Originally Posted by donjamal

Thank you guyz i will try all of your ideas... anyway i installed zlib but doesnt work. Maybe i need uninstall and install it again. The prob is ive never used ubuntu before but im gonna try hope i can do it. I will post here the results!

Sent from my LG-P970 using XDA App

Goodluck !

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes