ghostscript-lambda-layer icon indicating copy to clipboard operation
ghostscript-lambda-layer copied to clipboard

Missing supporting libraries

Open akshowhini opened this issue 4 years ago • 1 comments

Firstly, thanks for hosting the layer - it worked like a charm. It would be much helpful if the **libgs.so.*9.5 are also made available in a /lib64 folder. The reason for the error is also the same, that the camelot library is trying to find libgs.so.9.52 but couldn't find it.

An easy replication of an error is as follows..

# Any one of the below sections of code should have a value
# sec: 1
from ctypes import *
cdll = LibraryLoader(CDLL)
libgs = cdll.LoadLibrary("libgs.so")    # or "/opt/lib64/libgs.so"
print("libgs should not be null -->", libgs)

#sec 2
import ctypes.util
libgs = ctypes.util.find_library("gs")
print("libgs should not be null -->", libgs)

Originally posted by @akshowhini in https://github.com/shelfio/ghostscript-lambda-layer/issues/4#issuecomment-643709001

akshowhini avatar Jun 14 '20 02:06 akshowhini

@akshowhini Hi, may i know how did you add the **libgs.so.*9.5 under the /lib64 folder? would you mind sharing the way to make use of this ghostscript layer? I am currently using python3.7 runtime and still failed to use this layer and get stuck. please kindly help if possible. thanks!

mmiaz avatar Feb 18 '21 08:02 mmiaz