51Degrees / Device-Detection

THE Fastest and most Accurate device detection for C / PHP / Perl / Python and Node.js - professionally maintained device data
https://51degrees.com/device-detection
Other
112 stars 46 forks source link

Cross platform support #56

Closed user21345 closed 1 year ago

user21345 commented 2 years ago

Is 51Degrees Device-Detection support for all linux distributions?.

Is it support for Alpine OS?.

Automation51D commented 2 years ago

Hi Please see here on our website for versions of environments we have tested our software on: https://51degrees.com/documentation/4.4/_info__tested_versions.html

Thank you Paul

Best Regards Paul Ackerman CFO

From: user21345 @.> Sent: 27 September 2022 06:16 To: 51Degrees/Device-Detection @.> Cc: Subscribed @.***> Subject: [51Degrees/Device-Detection] Cross platform support (Issue #56)

Is 51Degrees Device-Detection support for all linux distributions?.

Is it support for Alpine OS?.

— Reply to this email directly, view it on GitHubhttps://github.com/51Degrees/Device-Detection/issues/56, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOMZFBUWE6RU3LKC34JUINDWAJ7KLANCNFSM6AAAAAAQWNG5MM. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose, use, store or copy the information contained herein. This is an email from 51Degrees.mobi Limited, Davidson House, Forbury Square, Reading, RG1 3EU. T: +44 118 328 7152; E: @.***; 51Degrees.mobi Limited t/as 51Degrees.

user21345 commented 2 years ago

i have seen supported platforms, we are supporting on Ubuntu Linux distribution.

My query here is; did 51 degrees tested following library on DeviceDetectionHashEngine-linux-x64.so on alpine platform.

DeviceDetectionHashEngine-linux-x64.so library built using glibc not using musl(alpine specific). To load DeviceDetectionHashEngine-linux-x64.so library on alpine, do we need to use glibc libatomic or musl libatomic?.

ben51degrees commented 2 years ago

Gu @user21345,

Alpine linux is not something we run tests against. That's not to say it will not work with the prebuilt libraries though. I'm not familar with the differences in musl, or whether it's compatible. If it does not work with the prebuilt binaries, they can be rebuilt on your target system to create binaries that will work.

When using systems that we do not support through the NuGet package directly, we recommend compiling the native binaries yourself on the target system. There are some prerequisutes in the readme which will need to be installed. Then you can run the PreBuild.sh (in the FiftyOne.DeviceDetection directory) to build the binaries. While you can use the cloned project directly, you should actually be able to continue to use the NuGet pacakge, but copy the binaries into your bin directory. This will be scanned before runtimes/linux-.... when attempting to load the binary. Thanks, Ben

ben51degrees commented 1 year ago

Hi @user21345 , We have made a release to the device-detection-cxx repository which addresses an issue with GCC version >= 10, which was noted in Alpine linux. See release 4.4.10