Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-08 Thread tanstaafl
Falk Sticken sticken at informatik.uni-luebeck.de writes:

 
 Hi,
 
 when I try to invoke gs from the Cygwin shell prompt, I get following 
 error message:
 /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open 
 shared object file: No such file or directory
 


Falk:

Sounds like U're missing a DLL.  Use cygcheck without any switches to get a list
of all the DLLs, then look for *all* of them in the list U attached to your last
message.

-tanstaafl





--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-05 Thread Marco Atzeri
--- Lun 5/7/10, Christopher Faylor  ha scritto:

 -0400, Christopher Faylor wrote:
 There's no eventually to it.  It is a bug if ldd
 isn't reporting
 missing dlls.
 
 The problem in this case is a missing nested dll.  ldd
 doesn't yet
 have a mechanism to detect when a dll referenced by another
 dll is
 missing.  I'm pondering the best way to deal with that
 now.
 
 cgf
 
Hi Cristopher,
just that you are verifying, please add this:

if one of the direct referenced dll is missing, 
(I removed cygjpeg-62.dll)
the outcome is not very helpful:

$ ldd /usr/bin/cyggs-8.dll
ntdll.dll = /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c90)
kernel32.dll = /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80)
??? = ??? (0x1000)
??? = ??? (0x6c14)
??? = ??? (0x67f0)
??? = ??? (0x6100)
??? = ??? (0x77dd)
??? = ??? (0x77e7)
??? = ??? (0x77fe)
??? = ??? (0x6e7c)
??? = ??? (0x6400)
??? = ??? (0x6144)
??? = ??? (0x689c)
??? = ??? (0x6a34)
??? = ??? (0x68e4)
??? = ??? (0x64ec)
??? = ??? (0x6dac)
??? = ??? (0x6f60)
??? = ??? (0x692c)
??? = ??? (0x66ec)
??? = ??? (0x6e08)
??? = ??? (0x3d)
??? = ??? (0x674c)
??? = ??? (0x6a18)
??? = ??? (0x6fb4)
??? = ??? (0x6f20)
??? = ??? (0x6db8)
??? = ??? (0x68c0)
??? = ??? (0x6520)
??? = ??? (0x66e0)


Marco





--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken

Hi,

when I try to invoke gs from the Cygwin shell prompt, I get following 
error message:
/usr/bin/gs.exe: error while loading shared libraries: ?: cannot open 
shared object file: No such file or directory


I have installed (reinstalled) the last version of ghostscript from the 
cygwin repository.

$ cygcheck -c -v ghostscript
Cygwin Package Information
Last downloaded files to: C:\Users\XXX\Downloads
Last downloaded files from: ftp://linux.rz.ruhr-uni-bochum.de/cygwin/

Package  VersionStatus
ghostscript  8.63-2 OK

bye,
Falk

Cygwin Configuration Diagnostics
Current System Time: Sun Jul 04 13:35:42 2010

Windows 7 Professional N Ver 6.1 Build 7600 

Running under WOW64 on AMD64

Path:   C:\Program Files\Java\jre6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\Program Files (x86)\MiKTeX 2.8\miktex\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Common Files\Teleca Shared
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
C:\Users\XXX\AppData\Roaming\MiKTeX\2.8\miktex\bin\

Output from C:\cygwin\bin\id.exe
UID: 1000(XXX) GID: 513(None)
513(None)545(Benutzer)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'XXX'
PWD = '/home/XXX'
HOME = '/home/XXX'

HOMEPATH = '\Users\XXX'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Users\XXX\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'COMPUTER'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 30 Stepping 5, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/usr/bin'
USERDOMAIN = 'COMPUTER'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
DEFAULT_CA_NR = 'CA18'
!:: = '::\'
TEMP = '/cygdrive/c/Users/XXX/AppData/Local/Temp'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
USERNAME = 'XXX'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
LANG = 'C.UTF-8'
USERPROFILE = 'C:\Users\XXX'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\COMPUTER'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\XXX\AppData\Local'
!C: = 'C:\cygwin\bin'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/cygdrive/c/Users/XXX/AppData/Local/Temp'
SYSTEMROOT = 'C:\Windows'
PRINTER = '\\http://192.168.1.12:631\Laserjet2100'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '1e05'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files (x86)'
NUMBER_OF_PROCESSORS = '4'
SESSIONNAME = 'Console'
COMPUTERNAME = 'COMPUTER'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: c5e39b7a9d22bafb Path: C:\cygwin

c:  hd  NTFS102399Mb  83% CP CS UN PA FC System
d:  hd  NTFS 39260Mb  50% CP CS UN PA FC Sicherung
e:  hd  NTFS851366Mb  34% CP CS UN PA FC Daten
f:  cd  CDFS52Mb 100%CS UN   PONS
h:  fd  FAT32 7647Mb  76% CPUN   F1

C:\cygwin/  system  binary,auto
C:\cygwin\bin/usr/bin   system  binary,auto
C:\cygwin\lib/usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  userbinary,auto

Found: C:\cygwin\bin\awk
Found: C:\cygwin\bin\awk
 - C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\bash.exe
Found: 

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Yaakov (Cygwin/X)
On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken wrote:
 when I try to invoke gs from the Cygwin shell prompt, I get following 
 error message:
 /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open 
 shared object file: No such file or directory

ldd /usr/bin/gs.exe will show you what your missing; in this case, I
think you need to install libjpeg62.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken

Yaakov (Cygwin/X) wrote:

On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken wrote:
when I try to invoke gs from the Cygwin shell prompt, I get following 
error message:
/usr/bin/gs.exe: error while loading shared libraries: ?: cannot open 
shared object file: No such file or directory


ldd /usr/bin/gs.exe will show you what your missing; in this case, I
think you need to install libjpeg62.


$ ldd /usr/bin/gs.exe
ntdll.dll = /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x76fd)
kernel32.dll = /cygdrive/c/Windows/syswow64/kernel32.dll 
(0x7514)
KERNELBASE.dll = /cygdrive/c/Windows/syswow64/KERNELBASE.dll 
(0x76b2)

cyggs-8.dll = /usr/bin/cyggs-8.dll (0x1000)
cygX11-6.dll = /usr/bin/cygX11-6.dll (0x6c14)
cyggcc_s-1.dll = /usr/bin/cyggcc_s-1.dll (0x67f0)
cygwin1.dll = /usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL = /cygdrive/c/Windows/syswow64/ADVAPI32.DLL 
(0x7567)

msvcrt.dll = /cygdrive/c/Windows/syswow64/msvcrt.dll (0x74d8)
sechost.dll = /cygdrive/c/Windows/SysWOW64/sechost.dll 
(0x7692)

RPCRT4.dll = /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x7504)
SspiCli.dll = /cygdrive/c/Windows/syswow64/SspiCli.dll 
(0x74b4)
CRYPTBASE.dll = /cygdrive/c/Windows/syswow64/CRYPTBASE.dll 
(0x74b3)

cygxcb-1.dll = /usr/bin/cygxcb-1.dll (0x6e7c)
cygXau-6.dll = /usr/bin/cygXau-6.dll (0x6400)
cygXdmcp-6.dll = /usr/bin/cygXdmcp-6.dll (0x6144)
cygXt-6.dll = /usr/bin/cygXt-6.dll (0x689c)
cygICE-6.dll = /usr/bin/cygICE-6.dll (0x6a34)
cygSM-6.dll = /usr/bin/cygSM-6.dll (0x68e4)
cyguuid-1.dll = /usr/bin/cyguuid-1.dll (0x64ec)
cygcairo-2.dll = /usr/bin/cygcairo-2.dll (0x6dac)
cygXrender-1.dll = /usr/bin/cygXrender-1.dll (0x6f60)
cygfontconfig-1.dll = /usr/bin/cygfontconfig-1.dll (0x692c)
cygexpat-1.dll = /usr/bin/cygexpat-1.dll (0x66ec)
cygfreetype-6.dll = /usr/bin/cygfreetype-6.dll (0x6e08)
cygz.dll = /usr/bin/cygz.dll (0x32)
cygiconv-2.dll = /usr/bin/cygiconv-2.dll (0x674c)
cygglitz-1.dll = /usr/bin/cygglitz-1.dll (0x6a18)
cygpixman-1-0.dll = /usr/bin/cygpixman-1-0.dll (0x6fb4)
cygpng12.dll = /usr/bin/cygpng12.dll (0x6f20)
cygxcb-render-util-0.dll = /usr/bin/cygxcb-render-util-0.dll 
(0x6db8)

cygxcb-render-0.dll = /usr/bin/cygxcb-render-0.dll (0x68c0)
cygjasper-1.dll = /usr/bin/cygjasper-1.dll (0x6520)
cygjpeg-7.dll = /usr/bin/cygjpeg-7.dll (0x66e0)

Does not seem to be the problem.

bye,
Falk


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Marco Atzeri
--- Dom 4/7/10, Falk Sticken  ha scritto:

  On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken
 wrote:
  when I try to invoke gs from the Cygwin shell
 prompt, I get following error message:
  /usr/bin/gs.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file
 or directory
  
  ldd /usr/bin/gs.exe will show you what your missing;
 in this case, I
  think you need to install libjpeg62.
 
 $ ldd /usr/bin/gs.exe
         ntdll.dll =
 /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x76fd)
         kernel32.dll =
 /cygdrive/c/Windows/syswow64/kernel32.dll (0x7514)
         KERNELBASE.dll =
 /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x76b2)
         cyggs-8.dll =
 /usr/bin/cyggs-8.dll (0x1000)
         cygX11-6.dll =
 /usr/bin/cygX11-6.dll (0x6c14)
         cyggcc_s-1.dll =
 /usr/bin/cyggcc_s-1.dll (0x67f0)
         cygwin1.dll =
 /usr/bin/cygwin1.dll (0x6100)
         ADVAPI32.DLL =
 /cygdrive/c/Windows/syswow64/ADVAPI32.DLL (0x7567)
         msvcrt.dll =
 /cygdrive/c/Windows/syswow64/msvcrt.dll (0x74d8)
         sechost.dll =
 /cygdrive/c/Windows/SysWOW64/sechost.dll (0x7692)
         RPCRT4.dll =
 /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x7504)
         SspiCli.dll =
 /cygdrive/c/Windows/syswow64/SspiCli.dll (0x74b4)
         CRYPTBASE.dll =
 /cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x74b3)
         cygxcb-1.dll =
 /usr/bin/cygxcb-1.dll (0x6e7c)
         cygXau-6.dll =
 /usr/bin/cygXau-6.dll (0x6400)
         cygXdmcp-6.dll =
 /usr/bin/cygXdmcp-6.dll (0x6144)
         cygXt-6.dll =
 /usr/bin/cygXt-6.dll (0x689c)
         cygICE-6.dll =
 /usr/bin/cygICE-6.dll (0x6a34)
         cygSM-6.dll =
 /usr/bin/cygSM-6.dll (0x68e4)
         cyguuid-1.dll =
 /usr/bin/cyguuid-1.dll (0x64ec)
         cygcairo-2.dll =
 /usr/bin/cygcairo-2.dll (0x6dac)
         cygXrender-1.dll =
 /usr/bin/cygXrender-1.dll (0x6f60)
         cygfontconfig-1.dll =
 /usr/bin/cygfontconfig-1.dll (0x692c)
         cygexpat-1.dll =
 /usr/bin/cygexpat-1.dll (0x66ec)
         cygfreetype-6.dll =
 /usr/bin/cygfreetype-6.dll (0x6e08)
         cygz.dll =
 /usr/bin/cygz.dll (0x32)
         cygiconv-2.dll =
 /usr/bin/cygiconv-2.dll (0x674c)
         cygglitz-1.dll =
 /usr/bin/cygglitz-1.dll (0x6a18)
         cygpixman-1-0.dll =
 /usr/bin/cygpixman-1-0.dll (0x6fb4)
         cygpng12.dll =
 /usr/bin/cygpng12.dll (0x6f20)
         cygxcb-render-util-0.dll =
 /usr/bin/cygxcb-render-util-0.dll (0x6db8)
         cygxcb-render-0.dll =
 /usr/bin/cygxcb-render-0.dll (0x68c0)
         cygjasper-1.dll =
 /usr/bin/cygjasper-1.dll (0x6520)
         cygjpeg-7.dll =
 /usr/bin/cygjpeg-7.dll (0x66e0)
 
 Does not seem to be the problem.
 
 bye,
 Falk
 
 
 --
 Problem reports:       http://cygwin.com/problems.html
 FAQ:               
    http://cygwin.com/faq/
 Documentation:         http://cygwin.com/docs.html
 Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
 
 

ldd don't report the missing lib,
eventually we should consider that a bug,  
while

$ cygcheck gs.exe

will report the missing 

C:\cygwin2\bin\cygjpeg-62.dll

that comes from libjpeg62-6b-21

Marco







--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken

Marco Atzeri wrote:

--- Dom 4/7/10, Falk Sticken  ha scritto:


On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken

wrote:

when I try to invoke gs from the Cygwin shell

prompt, I get following error message:

/usr/bin/gs.exe: error while loading shared

libraries: ?: cannot open shared object file: No such file
or directory

ldd /usr/bin/gs.exe will show you what your missing;

in this case, I

think you need to install libjpeg62.

$ ldd /usr/bin/gs.exe
ntdll.dll =
/cygdrive/c/Windows/SysWOW64/ntdll.dll (0x76fd)
kernel32.dll =
/cygdrive/c/Windows/syswow64/kernel32.dll (0x7514)
KERNELBASE.dll =
/cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x76b2)
cyggs-8.dll =
/usr/bin/cyggs-8.dll (0x1000)
cygX11-6.dll =
/usr/bin/cygX11-6.dll (0x6c14)
cyggcc_s-1.dll =
/usr/bin/cyggcc_s-1.dll (0x67f0)
cygwin1.dll =
/usr/bin/cygwin1.dll (0x6100)
ADVAPI32.DLL =
/cygdrive/c/Windows/syswow64/ADVAPI32.DLL (0x7567)
msvcrt.dll =
/cygdrive/c/Windows/syswow64/msvcrt.dll (0x74d8)
sechost.dll =
/cygdrive/c/Windows/SysWOW64/sechost.dll (0x7692)
RPCRT4.dll =
/cygdrive/c/Windows/syswow64/RPCRT4.dll (0x7504)
SspiCli.dll =
/cygdrive/c/Windows/syswow64/SspiCli.dll (0x74b4)
CRYPTBASE.dll =
/cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x74b3)
cygxcb-1.dll =
/usr/bin/cygxcb-1.dll (0x6e7c)
cygXau-6.dll =
/usr/bin/cygXau-6.dll (0x6400)
cygXdmcp-6.dll =
/usr/bin/cygXdmcp-6.dll (0x6144)
cygXt-6.dll =
/usr/bin/cygXt-6.dll (0x689c)
cygICE-6.dll =
/usr/bin/cygICE-6.dll (0x6a34)
cygSM-6.dll =
/usr/bin/cygSM-6.dll (0x68e4)
cyguuid-1.dll =
/usr/bin/cyguuid-1.dll (0x64ec)
cygcairo-2.dll =
/usr/bin/cygcairo-2.dll (0x6dac)
cygXrender-1.dll =
/usr/bin/cygXrender-1.dll (0x6f60)
cygfontconfig-1.dll =
/usr/bin/cygfontconfig-1.dll (0x692c)
cygexpat-1.dll =
/usr/bin/cygexpat-1.dll (0x66ec)
cygfreetype-6.dll =
/usr/bin/cygfreetype-6.dll (0x6e08)
cygz.dll =
/usr/bin/cygz.dll (0x32)
cygiconv-2.dll =
/usr/bin/cygiconv-2.dll (0x674c)
cygglitz-1.dll =
/usr/bin/cygglitz-1.dll (0x6a18)
cygpixman-1-0.dll =
/usr/bin/cygpixman-1-0.dll (0x6fb4)
cygpng12.dll =
/usr/bin/cygpng12.dll (0x6f20)
cygxcb-render-util-0.dll =
/usr/bin/cygxcb-render-util-0.dll (0x6db8)
cygxcb-render-0.dll =
/usr/bin/cygxcb-render-0.dll (0x68c0)
cygjasper-1.dll =
/usr/bin/cygjasper-1.dll (0x6520)
cygjpeg-7.dll =
/usr/bin/cygjpeg-7.dll (0x66e0)

Does not seem to be the problem.

bye,
Falk


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   
   http://cygwin.com/faq/

Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple




ldd don't report the missing lib,
eventually we should consider that a bug,  
while


$ cygcheck gs.exe

will report the missing 


C:\cygwin2\bin\cygjpeg-62.dll

that comes from libjpeg62-6b-21



ok, installed libjpeg62-21 from the _obsolete branch. works. thx.
bye,
Falk


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 09:11:07PM +, Marco Atzeri wrote:
--- Dom 4/7/10, Falk Sticken  ha scritto:

  On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken
 wrote:
  when I try to invoke gs from the Cygwin shell
 prompt, I get following error message:
  /usr/bin/gs.exe: error while loading shared
 libraries: ?: cannot open shared object file: No such file
 or directory
  
  ldd /usr/bin/gs.exe will show you what your missing;
 in this case, I
  think you need to install libjpeg62.
 
 $ ldd /usr/bin/gs.exe
 ? ? ? ? ntdll.dll =
 /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x76fd)
 ? ? ? ? kernel32.dll =
 /cygdrive/c/Windows/syswow64/kernel32.dll (0x7514)
 ? ? ? ? KERNELBASE.dll =
 /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x76b2)
 ? ? ? ? cyggs-8.dll =
 /usr/bin/cyggs-8.dll (0x1000)
 ? ? ? ? cygX11-6.dll =
 /usr/bin/cygX11-6.dll (0x6c14)
 ? ? ? ? cyggcc_s-1.dll =
 /usr/bin/cyggcc_s-1.dll (0x67f0)
 ? ? ? ? cygwin1.dll =
 /usr/bin/cygwin1.dll (0x6100)
 ? ? ? ? ADVAPI32.DLL =
 /cygdrive/c/Windows/syswow64/ADVAPI32.DLL (0x7567)
 ? ? ? ? msvcrt.dll =
 /cygdrive/c/Windows/syswow64/msvcrt.dll (0x74d8)
 ? ? ? ? sechost.dll =
 /cygdrive/c/Windows/SysWOW64/sechost.dll (0x7692)
 ? ? ? ? RPCRT4.dll =
 /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x7504)
 ? ? ? ? SspiCli.dll =
 /cygdrive/c/Windows/syswow64/SspiCli.dll (0x74b4)
 ? ? ? ? CRYPTBASE.dll =
 /cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x74b3)
 ? ? ? ? cygxcb-1.dll =
 /usr/bin/cygxcb-1.dll (0x6e7c)
 ? ? ? ? cygXau-6.dll =
 /usr/bin/cygXau-6.dll (0x6400)
 ? ? ? ? cygXdmcp-6.dll =
 /usr/bin/cygXdmcp-6.dll (0x6144)
 ? ? ? ? cygXt-6.dll =
 /usr/bin/cygXt-6.dll (0x689c)
 ? ? ? ? cygICE-6.dll =
 /usr/bin/cygICE-6.dll (0x6a34)
 ? ? ? ? cygSM-6.dll =
 /usr/bin/cygSM-6.dll (0x68e4)
 ? ? ? ? cyguuid-1.dll =
 /usr/bin/cyguuid-1.dll (0x64ec)
 ? ? ? ? cygcairo-2.dll =
 /usr/bin/cygcairo-2.dll (0x6dac)
 ? ? ? ? cygXrender-1.dll =
 /usr/bin/cygXrender-1.dll (0x6f60)
 ? ? ? ? cygfontconfig-1.dll =
 /usr/bin/cygfontconfig-1.dll (0x692c)
 ? ? ? ? cygexpat-1.dll =
 /usr/bin/cygexpat-1.dll (0x66ec)
 ? ? ? ? cygfreetype-6.dll =
 /usr/bin/cygfreetype-6.dll (0x6e08)
 ? ? ? ? cygz.dll =
 /usr/bin/cygz.dll (0x32)
 ? ? ? ? cygiconv-2.dll =
 /usr/bin/cygiconv-2.dll (0x674c)
 ? ? ? ? cygglitz-1.dll =
 /usr/bin/cygglitz-1.dll (0x6a18)
 ? ? ? ? cygpixman-1-0.dll =
 /usr/bin/cygpixman-1-0.dll (0x6fb4)
 ? ? ? ? cygpng12.dll =
 /usr/bin/cygpng12.dll (0x6f20)
 ? ? ? ? cygxcb-render-util-0.dll =
 /usr/bin/cygxcb-render-util-0.dll (0x6db8)
 ? ? ? ? cygxcb-render-0.dll =
 /usr/bin/cygxcb-render-0.dll (0x68c0)
 ? ? ? ? cygjasper-1.dll =
 /usr/bin/cygjasper-1.dll (0x6520)
 ? ? ? ? cygjpeg-7.dll =
 /usr/bin/cygjpeg-7.dll (0x66e0)
 
 Does not seem to be the problem.
 
 bye,
 Falk
 
 
 --
 Problem reports:? ? ???http://cygwin.com/problems.html
 FAQ:? ? ? ? ? ? ? ?
 ???http://cygwin.com/faq/
 Documentation:? ? ? ???http://cygwin.com/docs.html
 Unsubscribe info:? ? ? http://cygwin.com/ml/#unsubscribe-simple
 
 

ldd don't report the missing lib,
eventually we should consider that a bug,  
while

$ cygcheck gs.exe

will report the missing 

C:\cygwin2\bin\cygjpeg-62.dll

that comes from libjpeg62-6b-21

There's no eventually to it.  It is a bug if ldd isn't reporting
missing dlls.

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 07:26:48PM -0400, Christopher Faylor wrote:
There's no eventually to it.  It is a bug if ldd isn't reporting
missing dlls.

The problem in this case is a missing nested dll.  ldd doesn't yet
have a mechanism to detect when a dll referenced by another dll is
missing.  I'm pondering the best way to deal with that now.

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple