gkralik / php7-sapnwrfc

SAP NW RFC SDK extension for PHP 7.3+ & PHP 8
https://gkralik.github.io/php7-sapnwrfc
MIT License
90 stars 35 forks source link

skipping incompatible /usr/sap/nwrfcsdk/lib/libsapnwrfc.so when searching for -lsapnwrfc #129

Closed lokeshAccount closed 2 years ago

lokeshAccount commented 2 years ago

Bug Report

Q A
PHP version 7.4.3
SAP NW RFC SDK version SAP NetWeaver RFC SDK 7.50
Extension version/git ref php7-sapnwrfc

If I run the following commands Not Able to build the php rfcsdk extension in php $ git clone https://github.com/gkralik/php7-sapnwrfc.git $ cd php7-sapnwrfc $ phpize $ ./configure $ make ---------------------> in this command error is thrown as skipping incompatible /usr/sap/nwrfcsdk/lib/libsapnwrfc.so when searching for -lsapnwrfc $ sudo make install

Current behavior

skipping incompatible /usr/sap/nwrfcsdk/lib/libsapnwrfc.so when searching for -lsapnwrfc

How to reproduce

Expected behavior

build the phprfc extension

lokeshAccount commented 2 years ago

@gkralik any Update on this issue?

gkralik commented 2 years ago

Provide the full output of the failing command.

lokeshAccount commented 2 years ago

@gkralik The issue was because I was using different SDK that is not compatible with the my OS, after using correct SDK, this issue is solved, please close this issue