Thank you Marco!
I run cygcheck as you suggested, and found that I was missing cyggomp-1.dll:
$ cygcheck /usr/lib/R/bin/exec/R.exe
C:\Users\Giulio\cygwin\lib\R\bin\exec\R.exe
C:\Users\Giulio\cygwin\bin\libR.dll
C:\Users\Giulio\cygwin\lib\lapack\cygblas-0.dll
C:\Users\Giulio\cygwin\bin\cygwin1.dll
C:\Windows\system32\ADVAPI32.DLL
C:\Windows\system32\msvcrt.dll
C:\Windows\system32\KERNELBASE.dll
C:\Windows\system32\ntdll.dll
C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll
C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll
C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
C:\Windows\system32\KERNEL32.dll
C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
C:\Windows\system32\RPCRT4.dll
C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
C:\Users\Giulio\cygwin\bin\cyggcc_s-1.dll
C:\Users\Giulio\cygwin\bin\cygbz2-1.dll
C:\Users\Giulio\cygwin\bin\cygiconv-2.dll
C:\Users\Giulio\cygwin\bin\cygicui18n48.dll
C:\Users\Giulio\cygwin\bin\cygicuuc48.dll
C:\Users\Giulio\cygwin\bin\cygicudata48.dll
C:\Users\Giulio\cygwin\bin\cygstdc++-6.dll
C:\Users\Giulio\cygwin\bin\cygintl-8.dll
C:\Users\Giulio\cygwin\bin\cyglzma-5.dll
C:\Users\Giulio\cygwin\bin\cygpcre-0.dll
C:\Users\Giulio\cygwin\bin\cygreadline7.dll
C:\Users\Giulio\cygwin\bin\cygncursesw-10.dll
C:\Windows\system32\USER32.dll
C:\Windows\system32\GDI32.dll
C:\Windows\system32\LPK.dll
C:\Windows\system32\USP10.dll
C:\Users\Giulio\cygwin\bin\cygz.dll
cygcheck: track_down: could not find cyggomp-1.dll
I then checked which package has the missing cyggomp-1.dll, and found
that it is part of libgomp1/libgomp1-4.5.3-2:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cyggomp-1.dll
I installed that package by running setup.exe, and now I am finally
able to start R without getting an error message. Thank you very much
for the help!
Is this kind of troubleshooting required for all the packages from
cygwin ports?
This is the first package that I install from cygwin ports, and I am
fairly new to cygwin/unix/linux.
Thanks,
Dario
On Mon, Sep 12, 2011 at 10:40 AM, Marco atzeri <[email protected]> wrote:
> On 9/12/2011 3:08 PM, Dario Buttari wrote:
>> Hi,
>> I just installed R 2.13.1-1 from Cygwin Ports.
>> I installed all the dependencies flagged by setup.exe.
>> I did not get any error or warning during the installation.
>>
>> When I try start R from Cygwin, I get the following:
>> $ r
>> /usr/lib/R/bin/exec/R.exe: error while loading shared libraries: ?:
>> cannot open shared object file: No such file or directory
>>
>> Does anybody else have the same problem?
>> Any idea on how to pinpoint which shared library is missing?
>> Attached is my Cygwin Configuration Diagnostics file.
>> Thanks,
>> Dario
>>
>
> on my personal build derived from Ports one:
>
> cygcheck /usr/lib/R/bin/exec/R.exe
>
> e:\cygwin2\lib\R\bin\exec\R.exe
> E:\cygwin2\cygwin1.dll
> C:\WINDOWS\system32\KERNEL32.dll
> C:\WINDOWS\system32\ntdll.dll
> E:\cygwin2\bin\cyggcc_s-1.dll
> E:\cygwin2\bin\libR.dll
> E:\cygwin2\bin\cygblas-0.dll
> E:\cygwin2\bin\cyggfortran-3.dll
> E:\cygwin2\bin\cygatlas-0.dll
> E:\cygwin2\bin\cygbz2-1.dll
> E:\cygwin2\bin\cygiconv-2.dll
> E:\cygwin2\bin\cygicui18n48.dll
> E:\cygwin2\bin\cygicuuc48.dll
> E:\cygwin2\bin\cygicudata48.dll
> E:\cygwin2\bin\cygstdc++-6.dll
> E:\cygwin2\bin\cygintl-8.dll
> E:\cygwin2\bin\cygpcre-0.dll
> E:\cygwin2\bin\cygreadline7.dll
> E:\cygwin2\bin\cygncursesw-10.dll
> C:\WINDOWS\system32\USER32.dll
> C:\WINDOWS\system32\GDI32.dll
> E:\cygwin2\bin\cygz.dll
> E:\cygwin2\bin\cyggomp-1.dll
>
> Regards
> Marco
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops? How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Cygwin-ports-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general