Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error shared libraries: libssl.so #566

Closed
tiagofrancafernandes opened this issue Aug 8, 2024 · 5 comments
Closed

error shared libraries: libssl.so #566

tiagofrancafernandes opened this issue Aug 8, 2024 · 5 comments

Comments

@tiagofrancafernandes
Copy link

Question

All builds on Vercel returns the error:

php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

image

@Mashiane
Copy link

Same here, i cant get it to work. Hopefully we will get a solution.

@nadar
Copy link

nadar commented Aug 29, 2024

same ☝️

my vercel.json

{
    "version": 2,
    "builds": [
        { "src": "/api/index.php", "use": "vercel-php@latest" },
        { "src": "/public/**", "use": "@vercel/static" }
    ],
    "routes": [
        {
            "src": "/(css|js)/(.*)",
            "dest": "public/$1/$2"
        },
        {
            "src": "/(.*)",
            "dest": "/api/index.php"
        }
    ],
    "env": {
        "APP_NAME": "Vercel Laravel",
        "APP_ENV": "production",
        "APP_DEBUG": "false",
        "APP_URL": "https://php-laravel.vercel.app",
        "VERCEL_DEMO_MODE": "true",
        "APP_CONFIG_CACHE": "/tmp/config.php",
        "APP_EVENTS_CACHE": "/tmp/events.php",
        "APP_PACKAGES_CACHE": "/tmp/packages.php",
        "APP_ROUTES_CACHE": "/tmp/routes.php",
        "APP_SERVICES_CACHE": "/tmp/services.php",
        "CACHE_DRIVER": "array",
        "LOG_CHANNEL": "stderr",
        "SESSION_DRIVER": "array",
        "VIEW_COMPILED_PATH": "/tmp/views",
        "SSR_TEMP_PATH": "/tmp/ssr",
        "NODE_PATH": "node"
    }
}

@thedoggybrad
Copy link

change your node.js version guys to 18.x, it will work. Make sure to edit a file on your repo or source after applying the changes so that it can redeploy.
@nadar @Mashiane @tiagofrancafernandes

@f3l1x
Copy link
Collaborator

f3l1x commented Aug 30, 2024

I am doing my best to fix support of newer Node.js. I will keep you in loop.

@f3l1x
Copy link
Collaborator

f3l1x commented Sep 30, 2024

Hi, it should be fixed, can you try version 0.7.2?

https://example-php-8-3.vercel.app/

@f3l1x f3l1x closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants