Meshery Local Server not Starting (gcc mingw files not found)

While running make server
I get this error:

/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmingwex: No such file or directory
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmingw32: No such file or directory

I have gcc version 11.4.0 installed. The server won’t start due to -lmingw32 & lmingwex libraries not present.

I tried installing minGW-w64 files, still shows same error.

Try out this solution. I Hope it will work.

1 Like

It solved the error , thanks!

Hey @Vaibhav.Maurya , Just for some clarification, I solved the gcc error , My terminal now shows:

time="2023-09-08T23:49:14+06:00" level=info msg="Local Provider capabilities are: Not Set" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="Meshery Server release channel is: Not Set" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="Meshery Database is at: C:\\Users\\User/.meshery/config" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="Using kubeconfig at: C:\\Users\\User/.kube" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="Log level: debug" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="creating directories for seeding... C:\\Users\\User\\.meshery\\content\\patterns" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="creating directories for seeding... C:\\Users\\User\\.meshery\\content\\applications" app=meshery
time="2023-09-08T23:49:14+06:00" level=info msg="creating directories for seeding... C:\\Users\\User\\.meshery\\content\\filters\\binaries" app=meshery
time="2023-09-08T23:49:17+06:00" level=info msg="extracting Filters from C:\\Users\\User\\.meshery\\content\\filters\\binaries" app=meshery
time="2023-09-08T23:49:17+06:00" level=info msg="seeding sample Filters" app=meshery
time="2023-09-08T23:49:17+06:00" level=info msg="Meshery Server listening on: 9081" app=meshery
time="2023-09-08T23:49:17+06:00" level=info msg="extracting Patterns from C:\\Users\\User\\.meshery\\content\\patterns" app=meshery
time="2023-09-08T23:49:17+06:00" level=info msg="seeding sample Patterns" app=meshery
time="2023-09-08T23:51:25+06:00" level=info msg="extracting Applications from C:\\Users\\User\\.meshery\\content\\applications" app=meshery
time="2023-09-08T23:51:25+06:00" level=info msg="seeding sample Applications" app=meshery
packfile not found
already up-to-date

I’m not really sure what to do at this stage.
I don’t understand packfile not found message.
And my localhost:9801 still shows nothing

Please ensure you execute these commands first:

  1. make ui-setup
  2. make ui-setup

Docs: Contributing to Meshery Server | Meshery

1 Like

Thanks for the help, I was able to setup local environment & also got my first PR merged yesterday!

1 Like