Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Install Perl module sapnwrfc on Windows

by syphilis (Archbishop)
on Aug 11, 2015 at 10:49 UTC ( [id://1138133]=note: print w/replies, xml ) Need Help??


in reply to Install Perl module sapnwrfc on Windows

C:\Temp\nwrfcsdk\lib\sapnwrfc.lib: error adding symbols: File format not recognized
collect2.exe: error: ld returned 1 exit status


This is very similar to the error reported in Re^2: Tcl for Strawberry Perl on Windows 64bit:

C:\Tcl\lib\tcl86.lib: error adding symbols: File format not recognized
collect2.exe: error: ld returned 1 exit status

A fix to that problem is laid out in this post in that thread.
Update: If it's not readily apparent, the gendef and dlltool commands will create a new import lib (from the dll) that *is* compatible with MinGW.

(Seems that MSVC-generated import libs are incompatible with MInGW.)

There was an additional issue in that thread (regarding the wrong zlib1.dll) but that's not relevant here.

Cheers,
Rob
  • Comment on Re: Install Perl module sapnwrfc on Windows

Replies are listed 'Best First'.
Re^2: Install Perl module sapnwrfc on Windows
by filipd (Novice) on Aug 17, 2015 at 14:54 UTC
    Thanks ! : your tip pointed me in the right direction. Issue solved

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1138133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found