• October 25, 2020, 06:54:37 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: mkapkg No such file or directory  (Read 2257 times)

shadowchamber

  • Level 1 Member
  • *
  • Posts: 4
mkapkg No such file or directory
« on: October 30, 2016, 03:05:24 PM »

Hello

I'm trying to create sample addon, using ubuntu x64.
I've got addon sdk. unpacked it into home folder.

Code: [Select]
cd "~/addonsdk/Sample/utelnetd"
../../mkapkg_v2.1 -m DNS-327L

it says

Code: [Select]
bash: ../../mkapkg_v2.1: No such file or directory
What did I do wrong?
Logged

rusatch

  • Level 2 Member
  • **
  • Posts: 65
Re: mkapkg No such file or directory
« Reply #1 on: October 30, 2016, 09:40:34 PM »

Are you sure that mkapkg_v2.1 located at ~/addonsdk/ ?
Logged

shadowchamber

  • Level 1 Member
  • *
  • Posts: 4
Re: mkapkg No such file or directory
« Reply #2 on: October 31, 2016, 12:02:36 AM »

Yes.

Code: [Select]
root@udev:~# ls addonsdk/
Icons  mkapkg_v2.1  Sample
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: mkapkg No such file or directory
« Reply #3 on: October 31, 2016, 02:37:40 AM »

If there is no file "/lib/ld-linux.so.2" - will not work. It requires i686, instead of x86_64.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

rusatch

  • Level 2 Member
  • **
  • Posts: 65
Re: mkapkg No such file or directory
« Reply #4 on: October 31, 2016, 02:44:05 AM »

Try:
Code: [Select]
chmod +x ~/addonsdk/mkapkg_v2.1further:
Code: [Select]
../../mkapkg_v2.1 -m DNS-327L
Logged

shadowchamber

  • Level 1 Member
  • *
  • Posts: 4
Re: mkapkg No such file or directory
« Reply #5 on: October 31, 2016, 03:34:27 AM »

Try:
Code: [Select]
chmod +x ~/addonsdk/mkapkg_v2.1further:
Code: [Select]
../../mkapkg_v2.1 -m DNS-327L

Doesn't work
Logged

shadowchamber

  • Level 1 Member
  • *
  • Posts: 4
Re: mkapkg No such file or directory
« Reply #6 on: October 31, 2016, 03:37:47 AM »

If there is no file "/lib/ld-linux.so.2" - will not work. It requires i686, instead of x86_64.

Now, It's a little bit more clear.

I did:

Code: [Select]
apt-get install lib32ncurses5 lib32z1
It says:

Code: [Select]
error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
to fix it I did:

Code: [Select]
apt-get install libxml2:i386 libstdc++6:i386
Now it looks like ok:

Code: [Select]
NAS type:               DNS-327L
module name:            utelnetd
module versioin:        1.0
packager:               D-Link

header length:          6816
header checksum:        BF1F8F65

Add-ons "../DNS-327L utelnetd Package v1.0_10312016(BETA)" create!

Thanks a lot
Logged