Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Installing Zend Studio fails - cannot open libc.so.6

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
kauschovar
n00b
n00b
Posts: 17
Joined: Thu Sep 05, 2002 8:16 pm

Installing Zend Studio fails - cannot open libc.so.6

  • Quote

Post by kauschovar » Tue Jan 07, 2003 7:56 pm

I was just trying to install Zend Studio (PHP IDE), and this is what I got:

Code: Select all

dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file o
Launching installer...

or while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Zend Suport gave me the following two links:
http://dbforums.com/t583087.html
http://www.maplesoft.com/support/Faqs/M ... n/10.shtml

I followed the advice given by those two pages, and then I got this:

Code: Select all

Preparing to install...
Extracting the JRE from the installer archive...
The included VM could not be extracted. Please try to download
the installer again and make sure that you download using 'binary'
mode.  Please do not attempt to install this currently downloaded copy.
Top
stoph
n00b
n00b
User avatar
Posts: 12
Joined: Mon Aug 26, 2002 6:44 am
Contact:
Contact stoph
Website

  • Quote

Post by stoph » Thu Jan 09, 2003 12:55 pm

Don't edit the file with vim or nano.

emerge hexedit

and edit the file
press "/" for searching and type "LD_ASS"<ENTER>
replace the first character of "eport" with "#"
and the exit and save with <CTRL>-<X>

run the installer.
Top
kauschovar
n00b
n00b
Posts: 17
Joined: Thu Sep 05, 2002 8:16 pm

  • Quote

Post by kauschovar » Thu Jan 09, 2003 11:19 pm

Thanks. I'll try that.
Top
corporate_gadfly
n00b
n00b
Posts: 29
Joined: Sat Sep 21, 2002 1:02 am

  • Quote

Post by corporate_gadfly » Tue Feb 04, 2003 2:52 pm

stoph wrote:Don't edit the file with vim or nano.

emerge hexedit

and edit the file
press "/" for searching and type "LD_ASS"<ENTER>
replace the first character of "eport" with "#"
and the exit and save with <CTRL>-<X>

run the installer.
Before pressing "/", you need to press TAB to change over to the ASCII side of things, otherwise it will try to search in hex and fail to find LD_ASS.
Top
think-x
n00b
n00b
User avatar
Posts: 52
Joined: Wed Jun 30, 2004 6:45 pm
Location: UCSB
Contact:
Contact think-x
Website

  • Quote

Post by think-x » Sun Sep 12, 2004 4:07 am

just to be more specific (for people like me who took a while to get it): for Zend Studio 3.5.1+

Code: Select all

emerge hexedit
hexedit ZendStudio-3_5_1.bin
then hit TAB then hit / and type this string to search for: LD_ASSUME_KERNEL=2.2.5 and replace the first character with a "#". don't do anything else.
Screw you guys. I'm going home.
Top
ewolf
n00b
n00b
User avatar
Posts: 10
Joined: Tue Jul 13, 2004 1:41 pm
Location: Czech Republic
Contact:
Contact ewolf
Website

  • Quote

Post by ewolf » Mon Nov 01, 2004 10:29 pm

it works for me too, zend ide stopped working when i recompiled glibc with nptl. i was looking for solution two whole days :evil:

to start Zend IDE comment "export LD_ASSUME_KERNEL=2.2.5" in ide's starting script too, it's called ZDE...

to help other people to find solution, here are some keywords:

awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
nptl java
nptl Zend IDE
glibc
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

  • Quote

Post by Buzz » Wed Mar 02, 2005 5:41 am

ewolf wrote:it works for me too, zend ide stopped working when i recompiled glibc with nptl. i was looking for solution two whole days :evil:

to start Zend IDE comment "export LD_ASSUME_KERNEL=2.2.5" in ide's starting script too, it's called ZDE...

to help other people to find solution, here are some keywords:

awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
nptl java
nptl Zend IDE
glibc
I can verify that this also works in ZendStudio-4_0_0aRC1.bin. The line commented out was not the first occurrence of the LD_ASSUME... just find the export line and change the 'e' to a # as mentioned above. This also worked for me in the Zend_Development_Environment script.

Good luck,

Buzz
Top
koshnarek
n00b
n00b
User avatar
Posts: 7
Joined: Fri Sep 12, 2003 1:23 am
Location: Brasil

  • Quote

Post by koshnarek » Tue Jul 26, 2005 3:00 am

I solved this problem after recompiling glibc because it was compiled using nptlonly use flag.
After recompile glibc removing nptlonly the ZDE Installer works fine.
Top
dildassen
n00b
n00b
Posts: 3
Joined: Fri Aug 05, 2005 6:16 am

works on Zend Studio 5.0.0 also

  • Quote

Post by dildassen » Wed Nov 09, 2005 4:19 pm

Can confirm that the fix works on ZendStudio 5.0.0 also
Top
koshnarek
n00b
n00b
User avatar
Posts: 7
Joined: Fri Sep 12, 2003 1:23 am
Location: Brasil

  • Quote

Post by koshnarek » Wed Nov 09, 2005 5:13 pm

ZendStudio 5 works with no problems.
Top
fifo_
n00b
n00b
Posts: 1
Joined: Tue Mar 14, 2006 11:47 am

Even easier!

  • Quote

Post by fifo_ » Tue Mar 14, 2006 11:54 am

Try this. it easier and you dont even have to install new software (except maybe sed, but i doubt it. who doesn't have sed??)
export ZEND=ZendStudio-5_1_0.bin
cp "$ZEND" "$ZEND.BAK"
cat "$ZEND.BAK" | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > "$ZEND"
8) 8) 8) 8) 8)
Top
prothumian
n00b
n00b
Posts: 12
Joined: Sat May 03, 2003 2:01 am

  • Quote

Post by prothumian » Wed Mar 15, 2006 2:26 pm

Outstanding - this worked on Zend 5.1.0. Now I can get back to productivity after a day's worth of emerge -e world foibles following the glibc upgrade. :)
Top
Lord_Raven
Apprentice
Apprentice
Posts: 225
Joined: Sun Apr 24, 2005 6:59 pm
Location: Sosnowiec

  • Quote

Post by Lord_Raven » Fri Mar 24, 2006 5:10 pm

Hej, I fallow this tips, and install ZendStudio. Tu run it, I must do the same with ZDE file.
Now ZendStudio starts, but it show only gray screen. Anybody now how to fix it?
Top
hackwiz
n00b
n00b
User avatar
Posts: 17
Joined: Thu Feb 23, 2006 2:14 pm
Contact:
Contact hackwiz
Website

  • Quote

Post by hackwiz » Wed Apr 26, 2006 3:04 am

YES!!! This works fine for me! Thanks!
export ZEND=ZendStudio-5_1_0.bin
cp "$ZEND" "$ZEND.BAK"
cat "$ZEND.BAK" | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > "$ZEND"
Top
sayusi
n00b
n00b
User avatar
Posts: 26
Joined: Thu Aug 10, 2006 4:41 pm
Location: Hungary
Contact:
Contact sayusi
Website

  • Quote

Post by sayusi » Sat Sep 02, 2006 10:23 am

Hi Girls and Guys!

I have Zend Studio and gentoo-2006.1 (nptonly)

my system was 2006.0, but i make 2006.0 profile
i was edit /etc/make.profile symlink to 2006.1 and
emerge --sync
and emerge -avt --update --newuse --update world
and emerge -eavt system

if i start zend studio:

Code: Select all

sayusi@sayusi ~/ZEND-5.2/bin $ ./ZDE
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/home/sayusi/ZEND-5.2/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
ok, that is not good...

i make this:
export ZEND=ZendStudio-5_1_0.bin
cp "$ZEND" "$ZEND.BAK"
cat "$ZEND.BAK" | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > "$ZEND"
and reinstall Zend Studio

if i start Zend Stuidio this:

Code: Select all

sayusi@sayusi ~/ZEND-5.2/bin $ ./ZDE
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/home/sayusi/ZEND-5.2/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
nothing change

BUT!!!

i start this:

Code: Select all

sayusi@sayusi ~/ZEND-5.2/bin $ ./runStudio_unix.sh
work okay

BUT!!!

i start this:

Code: Select all

sayusi@sayusi ~/ZEND-5.2/bin $ runStudio_unix.sh &
[1] 16550
Nyomjon meg egy billentyűt...
anibody knows whats happening or what i must make this!
my brain explosed!
thanks and sorry my english...
Top
sayusi
n00b
n00b
User avatar
Posts: 26
Joined: Thu Aug 10, 2006 4:41 pm
Location: Hungary
Contact:
Contact sayusi
Website

  • Quote

Post by sayusi » Tue Sep 12, 2006 2:02 pm

Hi Girls and Guys!

Resolve the problem...

look this link...

http://www.zend.com/forums/index.php?t= ... l#msg_1496
Top
Standfest
n00b
n00b
Posts: 1
Joined: Wed Oct 11, 2006 12:55 pm

Re: Even easier!

  • Quote

Post by Standfest » Wed Oct 11, 2006 1:10 pm

fifo_ wrote:Try this. it easier and you dont even have to install new software (except maybe sed, but i doubt it. who doesn't have sed??)
export ZEND=ZendStudio-5_1_0.bin
cp "$ZEND" "$ZEND.BAK"
cat "$ZEND.BAK" | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > "$ZEND"
8) 8) 8) 8) 8)
Thanx a lot! That works with Zend Studio 5.0.2 with no problems.
Core 2 Duo E6300 @ 2140 Mhz, Stepping B2
MB ConRoe945G-DVI
Patriot 2x512Mb DDRII 667
Seagate SATAII 250GB 16mb
DVD-RW Lite-On
PlayTV Pro+FM
Case 400W FO MiddleTower A-SHUFFLE
Gentoo Linux, kernel 2.6 @ Xorg v7 & KDE 3.5
19'' LCD Samsung 940N
Top
Post Reply

17 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic