dynamsoft-dbr / linux-php-barcode-reader-

Wrap Dynamsoft Barcode Reader C/C++ SDK for PHP
https://www.dynamsoft.com/Products/barcode-reader-c-api-linux.aspx
MIT License
9 stars 10 forks source link

php: symbol lookup error: /usr/lib/php/20151012/dbr.so: undefined symbol: DBR_GetTemplateSettings #2

Closed jorgecci closed 5 years ago

jorgecci commented 5 years ago

Hello I have followed the steps and using php7.0 but when I run the php file I am getting the error below. Did the DBR_GetTemplateSettings change names? Thank you. The console returned...

php: symbol lookup error: /usr/lib/php/20151012/dbr.so: undefined symbol: DBR_GetTemplateSettings

yushulx commented 5 years ago

@jorgecci the method has been removed from DBR 7.0. The current PHP extension code only works with DBR 6.x. We will update it soon.

yushulx commented 5 years ago

@jorgecci it's updated. please pull the 7.x branch and rebuild the PHP extension.

jorgecci commented 5 years ago

Epic, thank you very much for the help. I have just pulled the latest and it works on my end. My follow up question is if there any known issues with using php versions > 7.0? Will it run the same on php7.3 or any changes needed to the php.ini file.

On Mon, Jul 15, 2019, 9:55 PM Xiao Ling notifications@github.com wrote:

@jorgecci https://github.com/jorgecci it's updated. please pull the 7.x branch and rebuild the PHP extension.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dynamsoft-dbr/linux-php-barcode-reader-/issues/2?email_source=notifications&email_token=AG62LQOFRSY4DFCQSRQFAKTP7UTCXA5CNFSM4ID2J6WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7OQDQ#issuecomment-511633422, or mute the thread https://github.com/notifications/unsubscribe-auth/AG62LQK5UJOJU2VYFIR5GXTP7UTCXANCNFSM4ID2J6WA .

yushulx commented 5 years ago

@jorgecci I'm not sure whether you can run it on PHP 7.3. You can have a try. If you fail to run it, you just need to download the source code of PHP 7.3 and build the extension with Dynamsoft Barcode Reader.

jorgecci commented 5 years ago

Ok thank you

On Mon, Jul 15, 2019 at 10:50 PM Xiao Ling notifications@github.com wrote:

@jorgecci https://github.com/jorgecci I'm not sure whether you can run it on PHP 7.3. You can have a try. If you fail to run it, you just need to download the source code of PHP 7.3 and build the extension with Dynamsoft Barcode Reader.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dynamsoft-dbr/linux-php-barcode-reader-/issues/2?email_source=notifications&email_token=AG62LQJ3NE6V7FPLT4FA5SLP7UZOFA5CNFSM4ID2J6WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7Q7HI#issuecomment-511643549, or mute the thread https://github.com/notifications/unsubscribe-auth/AG62LQIZRCXWAXS3YB5LYXTP7UZOFANCNFSM4ID2J6WA .

--

Jorge Contreras

coincafe

jorge@coincafe.com

(347) 454-2646