hsol opened a new issue, #7406:
URL: https://github.com/apache/incubator-devlake/issues/7406

   <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
   
   ## Question
   1. About mysqlclient module compatibility(ISO C99 and later do not support 
implicit function declarations)
   The problem of mysqlclient not being installed during installation of 
fakeplugin due to a version issue was resolved by using 2.2.x instead of 2.1.1.
   
   2. Occur panic on `go run server/main.go`
   ```
   panic: plugin.Open("bin/plugins/gitextractor/gitextractor.so"): 
dlopen(/Users/admin/PycharmProjects/incubator-devlake/backend/bin/plugins/gitextractor/gitextractor.so,
 0x000A): Library not loaded: @rpath/libgit2.1.3.dylib
     |   Referenced from: <65ABAC48-5208-388B-845A-10DFA9ADD47F> 
/Users/admin/PycharmProjects/incubator-devlake/backend/bin/plugins/gitextractor/gitextractor.so
     |   Reason: no LC_RPATH's found
   Wraps: (2) plugin.Open("bin/plugins/gitextractor/gitextractor.so"): 
dlopen(/Users/admin/PycharmProjects/incubator-devlake/backend/bin/plugins/gitextractor/gitextractor.so,
 0x000A): Library not loaded: @rpath/libgit2.1.3.dylib
     |   Referenced from: <65ABAC48-5208-388B-845A-10DFA9ADD47F> 
/Users/admin/PycharmProjects/incubator-devlake/backend/bin/plugins/gitextractor/gitextractor.so
     |   Reason: no LC_RPATH's found
   Error types: (1) *hintdetail.withDetail (2) *errors.errorString
   
   goroutine 1 [running]:
   github.com/apache/incubator-devlake/core/errors.Must(...)
           
/Users/admin/PycharmProjects/incubator-devlake/backend/core/errors/util.go:34
   github.com/apache/incubator-devlake/server/services.Init()
           
/Users/admin/PycharmProjects/incubator-devlake/backend/server/services/init.go:96
 +0x38b
   github.com/apache/incubator-devlake/server/api.Init(...)
           
/Users/admin/PycharmProjects/incubator-devlake/backend/server/api/api.go:58
   github.com/apache/incubator-devlake/server/api.CreateAndRunApiServer()
           
/Users/admin/PycharmProjects/incubator-devlake/backend/server/api/api.go:70 
+0x14
   main.main()
           
/Users/admin/PycharmProjects/incubator-devlake/backend/server/main.go:33 +0x30
   exit status 2
   make[1]: *** [run] Error 1
   make: *** [dev] Error 2
   ```
   
   ## Screenshots
   If applicable, add screenshots to help explain.
   
   ## Additional context
   Add any other context here.
   <img width="195" alt="image" 
src="https://github.com/apache/incubator-devlake/assets/1524891/58b284fc-25ed-4111-aa8c-1b9e223161c6";>
   
   Only by resolving this issue will the environment be ready to contribute to 
devlake.
   I will work hard to solve it in my own way. If you can help solve the 
problem, please comment.
   
   Here's what I did it:
   - Custom install libgit2 correct version on devlake
   - Added LC_RPATH by install_name_tool
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to