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

Dynamic Linking Error #2

Open
kumarabhirup opened this issue Jun 5, 2020 · 4 comments
Open

Dynamic Linking Error #2

kumarabhirup opened this issue Jun 5, 2020 · 4 comments

Comments

@kumarabhirup
Copy link

backend: Error: Dynamic Linking Error: dlopen(/Users/kumarabhirup/Documents/Repositories/propagateAt/packages/backend/libtdjson.dylib, 2): image not found
backend:     at new DynamicLibrary (/Users/kumarabhirup/Documents/Repositories/propagateAt/node_modules/ffi-napi/lib/dynamic_library.js:74:11)
backend:     at Object.Library (/Users/kumarabhirup/Documents/Repositories/propagateAt/node_modules/ffi-napi/lib/library.js:45:14)
backend:     at new TDLib (/Users/kumarabhirup/Documents/Repositories/propagateAt/node_modules/tlg/lib/tdlib.js:22:20)
backend:     at new Client (/Users/kumarabhirup/Documents/Repositories/propagateAt/node_modules/tlg/lib/client.js:7:3)
backend:     at connectToTelegram (/Users/kumarabhirup/Documents/Repositories/propagateAt/packages/backend/dist/src/resolvers/mutations/connectToTelegram.js:15:20)
backend:     at processTicksAndRejections (internal/process/task_queues.js:93:5)
backend:     at async Promise.all (index 0)

Looks like you abandoned this project. Anyway, would love to get help here.

@alikianinejad
Copy link

you should copy libtdjson.dylib from tdlib build folder to your project root directory

@MrFiregore
Copy link

MrFiregore commented Aug 3, 2020

same issue in win32:

(node:16684) UnhandledPromiseRejectionWarning: Error: Dynamic Linking Error: Win32 error 193
    at new DynamicLibrary (E:\wamp64\www\node-mysql\node_modules\ffi-napi\lib\dynamic_library.js:74:11)
    at Object.Library (E:\wamp64\www\node-mysql\node_modules\ffi-napi\lib\library.js:45:14)
    at new TDLib (E:\wamp64\www\node-mysql\node_modules\telegram-client\lib\tdlib.js:22:20)
    at new Client (E:\wamp64\www\node-mysql\node_modules\telegram-client\lib\client.js:7:3)
    at main (E:\wamp64\www\node-mysql\test.js:23:24)
    at Object.<anonymous> (E:\wamp64\www\node-mysql\test.js:21:5)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)

image

@alejandro0619
Copy link

I have the same problem as @firegore2

@DenisKibe

This comment has been minimized.

Repository owner deleted a comment from Arran5353 Feb 23, 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

6 participants
@alikianinejad @MrFiregore @kumarabhirup @DenisKibe @alejandro0619 and others